summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/lib/memset.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-04-29 11:36:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-04-29 11:36:47 -0700
commitd0cc7ecacba8a5b6bbdd5aa6ba3d1bc2fe59b580 (patch)
tree5bbb05359ef01a90c54a06f8c92dcee1cb42d77f /arch/microblaze/lib/memset.c
parent77d51337d650086643e1e96b8a7e1e6cbf0b09ff (diff)
parent47de4477a8e6bfd202640567ce4bf17cc1de60be (diff)
downloadlinux-stable-d0cc7ecacba8a5b6bbdd5aa6ba3d1bc2fe59b580.tar.gz
linux-stable-d0cc7ecacba8a5b6bbdd5aa6ba3d1bc2fe59b580.tar.bz2
linux-stable-d0cc7ecacba8a5b6bbdd5aa6ba3d1bc2fe59b580.zip
Merge tag 'microblaze-v5.13' of git://git.monstr.eu/linux-2.6-microblaze
Pull Microblaze updates from Michal Simek: "No new features, just about cleaning up some code and moving to generic syscall solution used by other architectures: - Switch to generic syscall scripts - Some small fixes" * tag 'microblaze-v5.13' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: add 'fallthrough' to memcpy/memset/memmove microblaze: Fix a typo microblaze: tag highmem_setup() with __meminit microblaze: syscalls: switch to generic syscallhdr.sh microblaze: syscalls: switch to generic syscalltbl.sh
Diffstat (limited to 'arch/microblaze/lib/memset.c')
-rw-r--r--arch/microblaze/lib/memset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/lib/memset.c b/arch/microblaze/lib/memset.c
index 04ea72c8a81d..eb6c8988af02 100644
--- a/arch/microblaze/lib/memset.c
+++ b/arch/microblaze/lib/memset.c
@@ -69,9 +69,11 @@ void *memset(void *v_src, int c, __kernel_size_t n)
case 1:
*src++ = c;
--n;
+ fallthrough;
case 2:
*src++ = c;
--n;
+ fallthrough;
case 3:
*src++ = c;
--n;