]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:15:32 +0000 (18:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2018 00:54:19 +0000 (17:54 -0700)
commit18e3aa07bcf317b27bcb7fda6978a74d6f3bf7e0
tree3a57b79f44c33a576f7ce7170a10e78703e9fa5d
parentae2aedf7d9c7bae066022d6059e46b90fc9226a2
net: thunderx: mark expected switch fall-through

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

Addresses-Coverity-ID: 114781 ("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/cavium/thunder/nicvf_ethtool.c