diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-08 02:11:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-08 03:54:19 +0300 |
commit | bc171e87a7e29a41b119fdfccd378f7179b39c23 (patch) | |
tree | 8efd6386193bb95b1d51925906e1a84a8b4ec456 /drivers | |
parent | 8ea34505060486010f27e323c741eeca5af7980e (diff) | |
download | linux-bc171e87a7e29a41b119fdfccd378f7179b39c23.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index d7f51ab85b45..8bb1e38b1681 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -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; |