projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c53e0c7
)
net: decnet: dn_nsp_in: mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Wed, 4 Jul 2018 22:05:00 +0000
(17:05 -0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Jul 2018 11:25:29 +0000
(20:25 +0900)
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>
net/decnet/dn_nsp_in.c
patch
|
blob
|
history
diff --git
a/net/decnet/dn_nsp_in.c
b/net/decnet/dn_nsp_in.c
index
1b21206
..
34aba55
100644
(file)
--- 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;
}