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

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

Addresses-Coverity-ID: 114788 ("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/hisilicon/hns/hns_ethtool.c