diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-08 01:24:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-08 02:54:20 +0200 |
commit | 76df93b1779563cda9d38237e5b6422df9ebd2e5 (patch) | |
tree | 4515d3361dc0106545992b17a7b60ac931599781 | |
parent | igb: e1000_phy: Mark expected switch fall-through (diff) | |
download | linux-76df93b1779563cda9d38237e5b6422df9ebd2e5.tar.xz 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>
-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; |