diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-20 12:37:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 03:08:46 +0100 |
commit | 0cea8e28df721f929ee3e1fa32489c012100f5a1 (patch) | |
tree | 9653292f233b050dc51a0971d65eba147248f882 /net/x25/x25_in.c | |
parent | 110af3acb8cfd79dcb5676a01e07cb2b6afa4c04 (diff) |
net: x25: mark expected switch fall-throughs
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/x25/x25_in.c')
-rw-r--r-- | net/x25/x25_in.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/x25/x25_in.c b/net/x25/x25_in.c index 7ac50098a375..3c12cae32001 100644 --- a/net/x25/x25_in.c +++ b/net/x25/x25_in.c @@ -345,6 +345,7 @@ static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametyp case X25_RESET_REQUEST: x25_write_internal(sk, X25_RESET_CONFIRMATION); + /* fall through */ case X25_RESET_CONFIRMATION: { x25_stop_timer(sk); x25->condition = 0x00; |