ARM: s3c/jive: add one more "fallthrough" statement
Subsystems (3)
PATCH 1/1 ARM: s3c/jive: add one more "fallthrough" statement
From: Arnd Bergmann <[email protected]>
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 <[email protected]>
--- arch/arm/mach-s3c/mach-jive.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-s3c/mach-jive.c +1 -0
@@ -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 ;
Signature · 1 line
2.29.2
Krzysztof Kozlowski
AppliedQuoted 9 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
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.
[...]
Applied, thanks!
[1/1] ARM: s3c/jive: add one more "fallthrough" statement
commit: 7f9ec9b59c278f31b0c2c8fabcf564e6fc02d4d8
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>