projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9003b36
)
sctp: fix fall-through annotation
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Wed, 3 Oct 2018 10:45:56 +0000
(12:45 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 3 Oct 2018 16:33:13 +0000
(09:33 -0700)
Replace "fallthru" with a proper "fall through" annotation.
This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/outqueue.c
patch
|
blob
|
history
diff --git
a/net/sctp/outqueue.c
b/net/sctp/outqueue.c
index d74d00b299421a940766f157bf8b48038b827cd1..42191ed9902b8dd38ad41b6221bd4210427b193b 100644
(file)
--- a/
net/sctp/outqueue.c
+++ b/
net/sctp/outqueue.c
@@
-1048,7
+1048,7
@@
static void sctp_outq_flush_data(struct sctp_flush_ctx *ctx,
if (!ctx->packet || !ctx->packet->has_cookie_echo)
return;
- /* fall
thru
*/
+ /* fall
through
*/
case SCTP_STATE_ESTABLISHED:
case SCTP_STATE_SHUTDOWN_PENDING:
case SCTP_STATE_SHUTDOWN_RECEIVED: