]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: mark expected switch fall-throughs
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 16 Oct 2017 21:36:52 +0000 (16:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Oct 2017 13:13:08 +0000 (14:13 +0100)
commit8bc6e0514655b2bd30733533afed7fd0a7122d63
treeee6360a7f2e195c2e8685f9eb6bbb64b60ee5ea4
parent3abcc0fff6afff5d0dd7d5a15446ab5349a6280d
ipv6: mark expected switch fall-throughs

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

Notice that in some cases I placed the "fall through" comment
on its own line, which is what GCC is expecting to find.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ah6.c
net/ipv6/exthdrs.c
net/ipv6/icmp.c
net/ipv6/ip6_fib.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6mr.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/xfrm6_policy.c