]> asedeno.scripts.mit.edu Git - linux.git/commit
net: sfc: falcon: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:31:16 +0000 (18:31 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2018 00:54:21 +0000 (17:54 -0700)
commit5683a7a6972059611ea164be0529fdb8db28938c
tree1a2e02c155f23ca1b91cd2b921a1671351e3745c
parent4e50ffcf1fb65375bed0cdb44ee369f33ee3729d
net: sfc: falcon: mark expected switch fall-through

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

Addresses-Coverity-ID: 1384500 ("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/sfc/falcon/ethtool.c