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_sriov.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_sriov.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c index dc77bfded865..62da46537734 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c @@ -1827,6 +1827,7 @@ get_vf: DP(BNX2X_MSG_IOV, "got VF [%d:%d] RSS update ramrod\n", vf->abs_vfid, qidx); bnx2x_vf_handle_rss_update_eqe(bp, vf); + /* fall through */ case EVENT_RING_OPCODE_VF_FLR: /* Do nothing for now */ return 0; |