linux_dsm_epyc7002/drivers/net/ethernet/chelsio
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
..
cxgb chelsio: clean up indentation issue 2019-02-02 20:14:38 -08:00
cxgb3 cxgb3/l2t: Use struct_size() in kvzalloc() 2019-04-01 15:01:46 -07:00
cxgb4 cxgb4: Don't return EAGAIN when TCAM is full. 2019-04-08 10:01:50 -07:00
cxgb4vf cxgb4/cxgb4vf_main: Mark expected switch fall-through 2019-04-26 11:28:47 -04:00
libcxgb libcxgb: fix incorrect ppmax calculation 2019-04-04 17:40:26 -07:00
Kconfig net: documentation: build a directory structure for drivers 2018-12-05 11:30:06 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00