ipv4: 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. Addresses-Coverity-ID: 115108 Signed-off-by:Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/ipv4/af_inet.c 2 additions, 1 deletionnet/ipv4/af_inet.c
- net/ipv4/arp.c 1 addition, 0 deletionsnet/ipv4/arp.c
- net/ipv4/devinet.c 1 addition, 0 deletionsnet/ipv4/devinet.c
- net/ipv4/ipmr.c 1 addition, 0 deletionsnet/ipv4/ipmr.c
- net/ipv4/netfilter/nf_nat_l3proto_ipv4.c 2 additions, 1 deletionnet/ipv4/netfilter/nf_nat_l3proto_ipv4.c
- net/ipv4/tcp_input.c 2 additions, 0 deletionsnet/ipv4/tcp_input.c
- net/ipv4/tcp_ipv4.c 2 additions, 1 deletionnet/ipv4/tcp_ipv4.c
Please register or sign in to comment