diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-06-27 20:32:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 18:43:13 +0900 |
commit | 83607344d667315687e1a5ddd2ad2fbbff22cc43 (patch) | |
tree | 75f501a3d5e079e1a727be513aa7f1a8d183141e /drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | |
parent | 1f705bc61aee5fab2826bcf6de152a5d92378a85 (diff) | |
download | linux-83607344d667315687e1a5ddd2ad2fbbff22cc43.tar.bz2 |
bnx2x: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index 5b1ed240bf18..44a6f2802bab 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c @@ -8561,11 +8561,11 @@ int bnx2x_set_int_mode(struct bnx2x *bp) bp->num_queues, 1 + bp->num_cnic_queues); - /* falling through... */ + /* fall through */ case BNX2X_INT_MODE_MSI: bnx2x_enable_msi(bp); - /* falling through... */ + /* fall through */ case BNX2X_INT_MODE_INTX: bp->num_ethernet_queues = 1; bp->num_queues = bp->num_ethernet_queues + bp->num_cnic_queues; |