• David S. Miller's avatar
    math-emu: Fix thinko in _FP_DIV · 60b82673
    David S. Miller authored
    In commit 48d6c643 ("math-emu: Add
    support for reporting exact invalid exception") code was added to
    set the new FP_EX_INVALID_{IDI,ZDZ} exception flag bits.
    
    However there is a missing break statement for the
    _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_INF) switch case, the
    code just falls into _FP_CLS_COMBINE(FP_CLS_ZERO,FP_CLS_ZERO)
    which then proceeds to overwrite all of the settings.
    
    Fix by adding the missing break.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    60b82673
op-common.h 25.8 KB