From eb3d408ce943d364a53173f61da8c9d899aa129a Mon Sep 17 00:00:00 2001 From: "Gustavo A. R. Silva" Date: Sat, 6 Jan 2018 16:53:35 +0100 Subject: 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 --- kernel/net/netfilter/ipset/ip_set_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/net') 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]) -- cgit v1.2.3