sctp: fix fall-through annotation
Subsystems (3)
PATCH 1/1 sctp: fix fall-through annotation
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 <[email protected]>
--- net/sctp/outqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/sctp/outqueue.c +1 -1
@@ -1048,7 +1048,7 @@ static void sctp_outq_flush_data(struct sctp_flush_ctx *ctx,if (!ctx->packet || !ctx->packet->has_cookie_echo)return ; -/* fallthru */ +/* fall through */ case SCTP_STATE_ESTABLISHED :case SCTP_STATE_SHUTDOWN_PENDING :case SCTP_STATE_SHUTDOWN_RECEIVED :
Signature · 1 line
2.7.4
From: "Gustavo A. R. Silva" <[email protected]>
Date: Wed, 3 Oct 2018 12:45:56 +0200
Quoted 6 lines
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 <[email protected]>
Applied.