]> git.baikalelectronics.ru Git - kernel.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)
commit52b36bc3a211489c4e5635f560d9352d5ed6aa24
tree1a2e02c155f23ca1b91cd2b921a1671351e3745c
parentc8c6e746a991a777448a5f7cbf6642151c4d0624
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