]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:18:30 +0000 (18:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2018 00:54:19 +0000 (17:54 -0700)
commitfdea7cd3be2e9c4a6495174b869eae687ae87be9
tree05caa58fa8e33cc47c894cf8e57ca7c73e2f3e27
parentc31f75e79f00815204a92a0b05edbe8b0c271225
net: hns3: Mark expected switch fall-through

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

Addresses-Coverity-ID: 114789 ("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/hns3/hns3_enet.c