]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/mlx4/en_rx: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 7 Aug 2018 23:21:40 +0000 (18:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2018 00:54:20 +0000 (17:54 -0700)
commitc8581f2bb5dd02d14be61ed9faa052a693a3960e
tree86b207582923b6be4214fb2b056151afbb3d965a
parent49a9776fe5d62fd4ff87406efa390a5de9f5f07d
net/mlx4/en_rx: Mark expected switch fall-throughs

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

Addresses-Coverity-ID: 114794 ("Missing break in switch")
Addresses-Coverity-ID: 114795 ("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/mellanox/mlx4/en_rx.c