summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2018-01-06 16:53:35 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2018-01-06 16:53:35 +0100
commiteb3d408ce943d364a53173f61da8c9d899aa129a (patch)
tree85075eac48855d20942e05810f678be349b90ef5
parentbff5fc8be00d3bed423c3ab1eaf5cd848594db72 (diff)
netfilter: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--kernel/net/netfilter/ipset/ip_set_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/netfilter/ipset/ip_set_core.c b/kernel/net/netfilter/ipset/ip_set_core.c
index 31704e8..806ff8b 100644
--- a/kernel/net/netfilter/ipset/ip_set_core.c
+++ b/kernel/net/netfilter/ipset/ip_set_core.c
@@ -1423,7 +1423,7 @@ dump_last:
goto next_set;
if (set->variant->uref)
set->variant->uref(set, cb, true);
- /* Fall through and add elements */
+ /* fall through */
default:
ret = set->variant->list(set, skb, cb);
if (!cb->args[IPSET_CB_ARG0])