diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-08-29 09:28:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-08-29 09:28:25 -0700 |
commit | 4a64489cf8e21a17fd6dd88935818ba7307ba996 (patch) | |
tree | 57c58a18b251201dccce10cc2d92c34b315b7400 /arch/arc | |
parent | 4e73079d39f62a5a46fbc30260acb0bd890c28df (diff) | |
parent | 7c9eb2dbd770b7c9980d5839dd305a70fbc5df67 (diff) |
Merge tag 'Wimplicit-fallthrough-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull fallthrough fixes from Gustavo A. R. Silva:
"Fix fall-through warnings on arc and nds32 for multiple
configurations"
* tag 'Wimplicit-fallthrough-5.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
nds32: Mark expected switch fall-throughs
ARC: unwind: Mark expected switch fall-through
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/kernel/unwind.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index 445e4d702f43..dc05a63516f5 100644 --- a/arch/arc/kernel/unwind.c +++ b/arch/arc/kernel/unwind.c @@ -572,6 +572,7 @@ static unsigned long read_pointer(const u8 **pLoc, const void *end, #else BUILD_BUG_ON(sizeof(u32) != sizeof(value)); #endif + /* Fall through */ case DW_EH_PE_native: if (end < (const void *)(ptr.pul + 1)) return 0; |