summaryrefslogtreecommitdiffstats
path: root/net/rose/rose_in.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2017-10-19 20:03:51 +0200
committerDavid S. Miller2017-10-22 03:02:26 +0200
commita05b8c43ac3cc156600a60bf6dcd30109bd42a73 (patch)
tree5ac763f5d4ad94ce68942c980389674ce43d3946 /net/rose/rose_in.c
parentopenvswitch: conntrack: mark expected switch fall-through (diff)
downloadkernel-qcow2-linux-a05b8c43ac3cc156600a60bf6dcd30109bd42a73.tar.gz
kernel-qcow2-linux-a05b8c43ac3cc156600a60bf6dcd30109bd42a73.tar.xz
kernel-qcow2-linux-a05b8c43ac3cc156600a60bf6dcd30109bd42a73.zip
net: rose: 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/rose/rose_in.c')
-rw-r--r--net/rose/rose_in.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rose/rose_in.c b/net/rose/rose_in.c
index 0a6394754e81..9bbbfe325c5a 100644
--- a/net/rose/rose_in.c
+++ b/net/rose/rose_in.c
@@ -219,6 +219,7 @@ static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int framety
switch (frametype) {
case ROSE_RESET_REQUEST:
rose_write_internal(sk, ROSE_RESET_CONFIRMATION);
+ /* fall through */
case ROSE_RESET_CONFIRMATION:
rose_stop_timer(sk);
rose_start_idletimer(sk);