aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/input.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-19 16:54:48 -0500
committerDavid S. Miller <davem@davemloft.net>2017-10-24 18:27:06 +0900
commite3cf39706b89001fd7f3eba0aa70aa40379eef30 (patch)
tree2cc59c0a471b8c2c50a454231103e6ea8c0c0adb /net/rxrpc/input.c
parentMerge branch 'ipv6-addrconf-hash-improvements-and-cleanups' (diff)
downloadlinux-dev-e3cf39706b89001fd7f3eba0aa70aa40379eef30.tar.xz
linux-dev-e3cf39706b89001fd7f3eba0aa70aa40379eef30.zip
net: rxrpc: 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/rxrpc/input.c')
-rw-r--r--net/rxrpc/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index e56e23ed2229..1e37eb1c0c66 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -1125,6 +1125,7 @@ void rxrpc_data_ready(struct sock *udp_sk)
case RXRPC_PACKET_TYPE_BUSY:
if (sp->hdr.flags & RXRPC_CLIENT_INITIATED)
goto discard;
+ /* Fall through */
case RXRPC_PACKET_TYPE_DATA:
if (sp->hdr.callNumber == 0)