]> asedeno.scripts.mit.edu Git - linux.git/commit
i40e_main: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:19:42 +0000 (18:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2018 00:54:19 +0000 (17:54 -0700)
commit1e84374f1c3c233c64be6122742c85446c774689
tree6ae05d4acbc0864089d00948ecca122623798d2d
parentbe44b3afa98205607a7930b155557ccda9efd1e2
i40e_main: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 114790 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_main.c