]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/ipv6/ip6_fib.c
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)
commit275757e6bae15a8621130907a78096afd1e15d2c
treeee6360a7f2e195c2e8685f9eb6bbb64b60ee5ea4
parentfb6ff75e18937a20dbec1eb47b5f893f38eabae4
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