From: Gustavo A. R. Silva Date: Sat, 6 Jan 2018 15:53:35 +0000 (+0100) Subject: netfilter: mark expected switch fall-throughs X-Git-Tag: v6.35~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb3d408ce943d364a53173f61da8c9d899aa129a;p=ipset 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 Signed-off-by: Simon Horman Signed-off-by: Pablo Neira Ayuso --- 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])