Skip to content

Commit

Permalink
net: netrom: nr_in: mark expected switch fall-through
Browse files Browse the repository at this point in the history
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
GustavoARSilva authored and davem330 committed Oct 22, 2017
1 parent 3c467bf commit e28101a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netrom/nr_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e28101a

Please sign in to comment.