Staging: sbe-2t3e3: logical || vs bitwise |
Subsystems (2)
PATCH 1/1 Staging: sbe-2t3e3: logical || vs bitwise |
Bitwise OR was clearly intended here.
Signed-off-by Dan Carpenter <[email protected]>
drivers/staging/sbe-2t3e3/intr.c +1 -1
@@ -188,7 +188,7 @@ void dc_intr_rx(struct channel *sc) }if (sc->s.LOS) { - error_mask &= ~(SBE_2T3E3_RX_DESC_DRIBBLING_BIT || + error_mask &= ~(SBE_2T3E3_RX_DESC_DRIBBLING_BIT |SBE_2T3E3_RX_DESC_MII_ERROR ); }