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

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

Addresses-Coverity-ID: 114787 ("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/emulex/benet/be_ethtool.c