-
- Downloads
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>
Showing
- net/ipv6/ah6.c 1 addition, 0 deletionsnet/ipv6/ah6.c
- net/ipv6/exthdrs.c 1 addition, 0 deletionsnet/ipv6/exthdrs.c
- net/ipv6/icmp.c 2 additions, 4 deletionsnet/ipv6/icmp.c
- net/ipv6/ip6_fib.c 4 additions, 0 deletionsnet/ipv6/ip6_fib.c
- net/ipv6/ip6_tunnel.c 1 addition, 0 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/ip6mr.c 1 addition, 0 deletionsnet/ipv6/ip6mr.c
- net/ipv6/netfilter/nf_nat_l3proto_ipv6.c 2 additions, 1 deletionnet/ipv6/netfilter/nf_nat_l3proto_ipv6.c
- net/ipv6/raw.c 4 additions, 0 deletionsnet/ipv6/raw.c
- net/ipv6/tcp_ipv6.c 2 additions, 1 deletionnet/ipv6/tcp_ipv6.c
- net/ipv6/xfrm6_policy.c 1 addition, 0 deletionsnet/ipv6/xfrm6_policy.c
Loading
Please register or sign in to comment