Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo A. R. Silva and committed by
David S. Miller
3cc87d03 c53e0c78

+1
+1
net/decnet/dn_nsp_in.c
··· 491 491 break; 492 492 case DN_RUN: 493 493 sk->sk_shutdown |= SHUTDOWN_MASK; 494 + /* fall through */ 494 495 case DN_CC: 495 496 scp->state = DN_CN; 496 497 }