]> asedeno.scripts.mit.edu Git - linux.git/commit
virtio-net: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Sun, 5 Aug 2018 02:42:05 +0000 (21:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 00:26:43 +0000 (17:26 -0700)
commitb633d4405bb276518812fbc20a5c61ce4cef25ae
tree67f40fcd33cde6f4f64fd543c78e4b1ce93f2993
parent1cbc36a53b60d43daa686280385b1ddbe51d5809
virtio-net: mark expected switch fall-throughs

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

Addresses-Coverity-ID: 1402059 ("Missing break in switch")
Addresses-Coverity-ID: 1402060 ("Missing break in switch")
Addresses-Coverity-ID: 1402061 ("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/virtio_net.c