linux_dsm_epyc7002/drivers/net/ethernet/sfc
Gustavo A. R. Silva 4a46a7c353 sfc: mcdi_port: 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/sfc/mcdi_port.c: In function ‘efx_mcdi_phy_decode_link’:
./include/linux/compiler.h:77:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
 # define unlikely(x) __builtin_expect(!!(x), 0)
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/bug.h:125:2: note: in expansion of macro ‘unlikely’
  unlikely(__ret_warn_on);     \
  ^~~~~~~~
drivers/net/ethernet/sfc/mcdi_port.c:344:3: note: in expansion of macro ‘WARN_ON’
   WARN_ON(1);
   ^~~~~~~
drivers/net/ethernet/sfc/mcdi_port.c:345:2: note: here
  case MC_CMD_FCNTL_OFF:
  ^~~~

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

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

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-01 11:23:58 -04:00
..
falcon drivers: net: sfc: use netdev_xmit_more helper 2019-04-01 18:35:02 -07:00
bitfield.h
ef10_regs.h
ef10_sriov.c sfc: remove redundant variable old_vlan 2018-07-04 22:39:11 +09:00
ef10_sriov.h
ef10.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-15 12:38:38 -08:00
efx.c sfc: ensure recovery after allocation failures 2019-02-14 12:47:16 -05:00
efx.h sfc: ARFS filter IDs 2018-04-24 13:48:22 -04:00
enum.h
ethtool.c net: core: dev: Add extack argument to dev_open() 2018-12-06 13:26:06 -08:00
farch_regs.h
farch.c sfc: correctly initialise filter rwsem for farch 2018-06-30 21:13:37 +09:00
filter.h
io.h
Kconfig
Makefile net: ethernet: sfc: Make subdir logic consistent with other vendors 2018-07-05 20:05:54 +09:00
mcdi_mon.c
mcdi_pcol.h sfc: add bundle partition definitions to mtd 2019-02-08 11:41:21 -08:00
mcdi_port.c sfc: mcdi_port: Mark expected switch fall-through 2019-05-01 11:23:58 -04:00
mcdi.c sfc: extend MTD support for newer hardware 2019-01-17 12:10:14 -08:00
mcdi.h
mtd.c sfc: extend MTD support for newer hardware 2019-01-17 12:10:14 -08:00
net_driver.h sfc: batch up RX delivery 2018-07-04 14:06:19 +09:00
nic.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
nic.h
ptp.c
rx.c sfc: ensure recovery after allocation failures 2019-02-14 12:47:16 -05:00
selftest.c
selftest.h
siena_sriov.c
siena_sriov.h
siena.c
sriov.c
sriov.h
tx_tso.c
tx.c drivers: net: sfc: use netdev_xmit_more helper 2019-04-01 18:35:02 -07:00
tx.h
vfdi.h
workarounds.h