linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb4vf
Gustavo A. R. Silva 05dd264530 cxgb4/cxgb4vf_main: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warning:

drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c: In function ‘fwevtq_handler’:
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:520:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
   cpl = (void *)p;
   ~~~~^~~~~~~~~~~
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:524:2: note: here
  case CPL_SGE_EGR_UPDATE: {
  ^~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

Notice that, in this particular case, the code comment is modified
in accordance with what GCC is expecting to find.

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-26 11:28:47 -04:00
..
adapter.h cxgb4vf: Prefix adapter flags with CXGB4VF 2019-03-01 23:18:12 -08:00
cxgb4vf_main.c cxgb4/cxgb4vf_main: Mark expected switch fall-through 2019-04-26 11:28:47 -04:00
Makefile
sge.c cxgb4vf: Prefix adapter flags with CXGB4VF 2019-03-01 23:18:12 -08:00
t4vf_common.h cxgb4/cxgb4vf: Notify link changes to OS-dependent code 2018-05-25 15:10:07 -04:00
t4vf_defs.h cxgb4vf: Update to 128 byte mailbox size for T6 adapter 2015-12-23 22:34:45 -05:00
t4vf_hw.c cxgb4/cxgb4vf: Display advertised FEC in ethtool 2019-03-29 13:47:38 -07:00