mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-17 04:04:55 +00:00
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>
This commit is contained in:
parent
c53e0c787e
commit
3cc87d0399
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue