diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-07 18:24:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-07 17:54:20 -0700 |
commit | 76df93b1779563cda9d38237e5b6422df9ebd2e5 (patch) | |
tree | 4515d3361dc0106545992b17a7b60ac931599781 /drivers/net/ethernet/intel/igbvf | |
parent | eed05a094a0dd03f181d3fd65e4be375d88a582c (diff) | |
download | talos-obmc-linux-76df93b1779563cda9d38237e5b6422df9ebd2e5.tar.gz talos-obmc-linux-76df93b1779563cda9d38237e5b6422df9ebd2e5.zip |
igbvf: netdev: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114801 ("Missing break in switch")
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/intel/igbvf')
-rw-r--r-- | drivers/net/ethernet/intel/igbvf/netdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c index f818f060e5a7..e0c989ffb2b3 100644 --- a/drivers/net/ethernet/intel/igbvf/netdev.c +++ b/drivers/net/ethernet/intel/igbvf/netdev.c @@ -2102,6 +2102,7 @@ csum_failed: type_tucmd = E1000_ADVTXD_TUCMD_L4T_SCTP; break; } + /* fall through */ default: skb_checksum_help(skb); goto csum_failed; |