]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
misc: sgi-gru: fix fall-through annotations
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 13 Sep 2018 18:53:18 +0000 (13:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 13:13:52 +0000 (15:13 +0200)
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>
Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sgi-gru/grukservices.c

index 030769018461b5ddca59e5dc62ab6fd3ab35d97f..4b23d586fc3f16f15549a6bd7810a3e1baf3acec 100644 (file)
@@ -634,7 +634,7 @@ static int send_noop_message(void *cb, struct gru_message_queue_desc *mqd,
                        break;
                case CBSS_PAGE_OVERFLOW:
                        STAT(mesq_noop_page_overflow);
-                       /* fallthru */
+                       /* fall through */
                default:
                        BUG();
                }
@@ -792,7 +792,7 @@ static int send_message_failure(void *cb, struct gru_message_queue_desc *mqd,
                break;
        case CBSS_PAGE_OVERFLOW:
                STAT(mesq_page_overflow);
-               /* fallthru */
+               /* fall through */
        default:
                BUG();
        }