]> asedeno.scripts.mit.edu Git - linux.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)
commit6da5ae5f00e84b469ba52e734c856b707eac90a6
tree3a57b79f44c33a576f7ce7170a10e78703e9fa5d
parent92072679a8036215b9ef8fd68d7ef9eef786a9e9
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