]> git.ipfire.org Git - thirdparty/ipset.git/commit
netfilter: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 8 Jul 2020 20:09:39 +0000 (15:09 -0500)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Sun, 20 Sep 2020 10:42:43 +0000 (12:42 +0200)
commit514bd1d1234ce9bab49244cf638dff8c894940a1
tree3c94dde0c8b02a877b3af62d5052d64dc237d7da
parentb62e1ef34c18c1734593b81de481021f8fbb866e
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>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
kernel/include/linux/netfilter/ipset/ip_set_compat.h.in
kernel/net/netfilter/ipset/ip_set_core.c