mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
bnx2x: Mark expected switch fall-thoughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114878 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8ea3450506
commit
bc171e87a7
|
|
@ -1729,8 +1729,8 @@ static int bnxt_async_event_process(struct bnxt *bp,
|
|||
speed);
|
||||
}
|
||||
set_bit(BNXT_LINK_SPEED_CHNG_SP_EVENT, &bp->sp_event);
|
||||
/* fall through */
|
||||
}
|
||||
/* fall through */
|
||||
case ASYNC_EVENT_CMPL_EVENT_ID_LINK_STATUS_CHANGE:
|
||||
set_bit(BNXT_LINK_CHNG_SP_EVENT, &bp->sp_event);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user