From: Gustavo A. R. Silva Date: Wed, 4 Jul 2018 22:05:00 +0000 (-0500) Subject: net: decnet: dn_nsp_in: mark expected switch fall-through X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3cc87d03992fc2a2d57b8a76110463fb18a95d72;p=openwrt%2Fstaging%2Fblogic.git net: decnet: dn_nsp_in: mark expected switch fall-through 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: David S. Miller --- diff --git a/net/decnet/dn_nsp_in.c b/net/decnet/dn_nsp_in.c index 1b2120645730..34aba55ed573 100644 --- a/net/decnet/dn_nsp_in.c +++ b/net/decnet/dn_nsp_in.c @@ -491,6 +491,7 @@ static void dn_nsp_disc_conf(struct sock *sk, struct sk_buff *skb) break; case DN_RUN: sk->sk_shutdown |= SHUTDOWN_MASK; + /* fall through */ case DN_CC: scp->state = DN_CN; }