summaryrefslogtreecommitdiffstats
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-15 13:22:10 -0500
committerDavid S. Miller <davem@davemloft.net>2017-10-16 21:15:21 +0100
commitbc28df6e8543d41abfb48d4a4c6d445638d6768c (patch)
treebc2b37a8643e84fa8fe94315c39c66bd8ceefd3d /net/dccp/input.c
parent2a600d97cbb2a9311e6b42547d37e0eca9b9d6d6 (diff)
downloadtalos-op-linux-bc28df6e8543d41abfb48d4a4c6d445638d6768c.tar.gz
talos-op-linux-bc28df6e8543d41abfb48d4a4c6d445638d6768c.zip
net: dccp: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that for options.c file, I placed the "fall through" comment on its own line, which is what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
-rw-r--r--net/dccp/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c
index fa6be9750bb4..d28d46bff6ab 100644
--- a/net/dccp/input.c
+++ b/net/dccp/input.c
@@ -534,6 +534,7 @@ static int dccp_rcv_respond_partopen_state_process(struct sock *sk,
case DCCP_PKT_DATA:
if (sk->sk_state == DCCP_RESPOND)
break;
+ /* fall through */
case DCCP_PKT_DATAACK:
case DCCP_PKT_ACK:
/*
OpenPOWER on IntegriCloud