summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-11-16 10:20:42 +0100
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-11-16 11:17:55 +0100
commit7f9ec9b59c278f31b0c2c8fabcf564e6fc02d4d8 (patch)
treeaeb58772d3b8e0114e4cf6125a449efa616d5f7f /arch/arm/mach-s3c
parent90dc0df9168b6c1ddb339481b440d7c13cc4417c (diff)
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 <arnd@arndb.de> Link: https://lore.kernel.org/r/20211116092053.4042799-1-arnd@kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'arch/arm/mach-s3c')
-rw-r--r--arch/arm/mach-s3c/mach-jive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c/mach-jive.c b/arch/arm/mach-s3c/mach-jive.c
index 0785638a9069..285e1f0f4145 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;