Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e28101a3 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by David S. Miller
Browse files

net: netrom: nr_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: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c467bf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ static int nr_state2_machine(struct sock *sk, struct sk_buff *skb,

	case NR_DISCREQ:
		nr_write_internal(sk, NR_DISCACK);

		/* fall through */
	case NR_DISCACK:
		nr_disconnect(sk, 0);
		break;