]> git.baikalelectronics.ru Git - kernel.git/commit
veth: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 8 Feb 2019 18:37:33 +0000 (12:37 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 19:51:52 +0000 (11:51 -0800)
commit0fe36d7d4691e823f05f5d61f63105f092e1f9ca
tree58c000ffa4caca249536e30fbf9ef1a4eed42cd4
parent30c4014a2865406e4f144a6ebe271f294256d44f
veth: Mark expected switch fall-throughs

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

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enabling
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c