diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-19 19:43:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 03:00:33 +0200 |
commit | e28101a37c3e6b74aeebe4a340636b1782deb830 (patch) | |
tree | 59cd8c110ba7d1e7b84d8b491f5646cd34de730b /net/netrom/nr_in.c | |
parent | bnxt: Move generic devlink code to new file (diff) | |
download | linux-e28101a37c3e6b74aeebe4a340636b1782deb830.tar.xz linux-e28101a37c3e6b74aeebe4a340636b1782deb830.zip |
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/nr_in.c')
-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; |