]> asedeno.scripts.mit.edu Git - linux.git/commit
qlcnic: Mark expected switch fall-througs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:28:20 +0000 (18:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2018 00:54:20 +0000 (17:54 -0700)
commitd19911ca0521623bcc306738f7a1298f9f56d3c9
tree2c894a7d066b9b5e611f31aec63349ca960e77f4
parentb84ad65a75f36abfe20b3c9386e8377982ca8eaa
qlcnic: Mark expected switch fall-througs

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

Addresses-Coverity-ID: 1410181 ("Missing break in switch")
Addresses-Coverity-ID: 1410184 ("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/qlogic/qlcnic/qlcnic_ethtool.c