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>
This commit is contained in:
Родитель
90dc0df916
Коммит
7f9ec9b59c
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче