ARM: s3c: add one more "fallthrough" statement in Jive
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 Nov 2021 09:20:42 +0000 (10:20 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tue, 16 Nov 2021 10:17:55 +0000 (11:17 +0100)
clang warns about one missing fallthrough that gcc ignores:

arch/arm/mach-s3c/mach-jive.c:250:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Add it here as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211116092053.4042799-1-arnd@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
arch/arm/mach-s3c/mach-jive.c

index 0785638..285e1f0 100644 (file)
@@ -247,6 +247,7 @@ static int __init jive_mtdset(char *options)
        case 1:
                nand->nr_partitions = ARRAY_SIZE(jive_imageB_nand_part);
                nand->partitions = jive_imageB_nand_part;
+               break;
        case 0:
                /* this is already setup in the nand info */
                break;