1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel
Gustavo A. R. Silva 514af5f099 i40e: 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/intel/i40e/i40e_xsk.c: In function ‘i40e_run_xdp_zc’:
drivers/net/ethernet/intel/i40e/i40e_xsk.c:217:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   bpf_warn_invalid_xdp_action(act);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/intel/i40e/i40e_xsk.c:218:2: note: here
  case XDP_ABORTED:
  ^~~~

Signed-off-by: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-06-14 13:03:45 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
e1000e e1000e: start network tx queue only when link is up 2019-05-28 16:08:43 -07:00
fm10k Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
i40e i40e: mark expected switch fall-through 2019-06-14 13:03:45 -07:00
iavf iavf: update comments and file checks to match iavf 2019-05-31 01:03:24 -07:00
ice ice: Use LLDP ethertype define ETH_P_LLDP 2019-06-05 13:04:29 -07:00
igb igb: mark expected switch fall-through 2019-05-28 15:52:37 -07:00
igbvf drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
igc igc: Cleanup the redundant code 2019-05-28 16:15:55 -07:00
ixgb cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ixgbe ixgbe: implement support for SDP/PPS output on X550 hardware 2019-06-05 13:04:30 -07:00
ixgbevf net: ixgbevf: fix a missing check of ixgbevf_write_msg_read_ack 2019-06-05 13:04:30 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00