netfilter: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 8 Jul 2020 20:09:39 +0000 (15:09 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 21 Jul 2020 23:18:05 +0000 (01:18 +0200)
commit954d82979b2f9dd4c20b895226799650d4841b94
tree9b8617812e71d3137b4a105e65db055e762f4c6f
parent35dfb013149f74c2be1ff9c78f14e6a3cd1539d1
netfilter: Use fallthrough pseudo-keyword

Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
17 files changed:
net/bridge/netfilter/ebtables.c
net/netfilter/ipset/ip_set_core.c
net/netfilter/nf_conntrack_h323_asn1.c
net/netfilter/nf_conntrack_proto.c
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_standalone.c
net/netfilter/nf_nat_core.c
net/netfilter/nf_synproxy_core.c
net/netfilter/nf_tables_api.c
net/netfilter/nf_tables_core.c
net/netfilter/nfnetlink_cttimeout.c
net/netfilter/nft_cmp.c
net/netfilter/nft_ct.c
net/netfilter/nft_fib.c
net/netfilter/nft_payload.c
net/netfilter/utils.c
net/netfilter/x_tables.c