projects
/
openwrt
/
staging
/
blogic.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 1b2120645730577de9156215bee70c9a2b9e59e2..34aba55ed573db914231c4933429e48b24908c01 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;
}