From: Arnd Bergmann Date: Tue, 16 Nov 2021 09:20:42 +0000 (+0100) Subject: ARM: s3c: add one more "fallthrough" statement in Jive X-Git-Tag: v6.1-rc5~2340^2~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f9ec9b59c278f31b0c2c8fabcf564e6fc02d4d8;p=platform%2Fkernel%2Flinux-starfive.git ARM: s3c: add one more "fallthrough" statement in Jive 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 Link: https://lore.kernel.org/r/20211116092053.4042799-1-arnd@kernel.org Signed-off-by: Krzysztof Kozlowski --- diff --git a/arch/arm/mach-s3c/mach-jive.c b/arch/arm/mach-s3c/mach-jive.c index 0785638..285e1f0 100644 --- a/arch/arm/mach-s3c/mach-jive.c +++ b/arch/arm/mach-s3c/mach-jive.c @@ -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;