summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-07-04 17:05:00 -0500
committerDavid S. Miller <davem@davemloft.net>2018-07-05 20:25:29 +0900
commit3cc87d03992fc2a2d57b8a76110463fb18a95d72 (patch)
treea17d479a7b277742399d3f8c433fd6e61ced7432 /net/decnet
parentc53e0c787e672b4edbf719b7c1ec5833db3af2da (diff)
downloadlinux-3cc87d03992fc2a2d57b8a76110463fb18a95d72.tar.gz
linux-3cc87d03992fc2a2d57b8a76110463fb18a95d72.tar.bz2
linux-3cc87d03992fc2a2d57b8a76110463fb18a95d72.zip
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 <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/dn_nsp_in.c1
1 files changed, 1 insertions, 0 deletions
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;
}