diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-19 20:43:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 04:00:33 +0300 |
commit | e28101a37c3e6b74aeebe4a340636b1782deb830 (patch) | |
tree | 59cd8c110ba7d1e7b84d8b491f5646cd34de730b /net/netrom | |
parent | 3c467bf399106030d5a97d844ee119caec04e817 (diff) | |
download | linux-e28101a37c3e6b74aeebe4a340636b1782deb830.tar.xz |
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: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
-rw-r--r-- | net/netrom/nr_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/nr_in.c b/net/netrom/nr_in.c index 80dbd0beb516..fbfdae452ff9 100644 --- a/net/netrom/nr_in.c +++ b/net/netrom/nr_in.c @@ -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; |