sctp: fix fall-through annotation
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 3 Oct 2018 10:45:56 +0000 (12:45 +0200)
committerDavid 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

index d74d00b299421a940766f157bf8b48038b827cd1..42191ed9902b8dd38ad41b6221bd4210427b193b 100644 (file)
@@ -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: