summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-26 22:06:22 +0200
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-29 19:51:00 +0200
commit696e572dc85c674b31f4f13f59d8e217ee1b057f (patch)
tree5a0236e595dbf38f884f84cb0029b9206cc25665 /arch/arm
parentLinux 5.14-rc3 (diff)
downloadlinux-696e572dc85c674b31f4f13f59d8e217ee1b057f.tar.xz
linux-696e572dc85c674b31f4f13f59d8e217ee1b057f.zip
ARM: riscpc: Fix fall-through warning for Clang
Fix the following fallthrough warning: arch/arm/mach-rpc/riscpc.c:52:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ arch/arm/mach-rpc/riscpc.c:52:2: note: insert 'break;' to avoid fall-through default: ^ break; Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/lkml/202107260355.bF00i5bi-lkp@intel.com/ Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-rpc/riscpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c
index d23970bd638d..f70fb9c4b0cb 100644
--- a/arch/arm/mach-rpc/riscpc.c
+++ b/arch/arm/mach-rpc/riscpc.c
@@ -49,6 +49,7 @@ static int __init parse_tag_acorn(const struct tag *tag)
fallthrough; /* ??? */
case 256:
vram_size += PAGE_SIZE * 256;
+ break;
default:
break;
}