diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-14 16:10:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-14 16:10:22 -0800 |
commit | 510c9788991c58827373bca719d8cffa4d65f846 (patch) | |
tree | ce7c9de10ef67002360091d7eeec05c7b11eb1f2 | |
parent | 07c4b9e9f71aa4bc74009f710fc5a745e10981bf (diff) | |
parent | 3d519d6d388ba4f9a75d0e0b6f60d890987bc096 (diff) | |
download | linux-510c9788991c58827373bca719d8cffa4d65f846.tar.bz2 |
Merge tag 'Wimplicit-fallthrough-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
Pull fall through fix from Gustavo Silva:
"Fix compile error on sh by marking expected switch fall-through"
* tag 'Wimplicit-fallthrough-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
sh: kgdb: Mark expected switch fall-throughs
-rw-r--r-- | arch/sh/kernel/kgdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/kgdb.c b/arch/sh/kernel/kgdb.c index 6d61f8cf4c13..0d5f3c9d52f3 100644 --- a/arch/sh/kernel/kgdb.c +++ b/arch/sh/kernel/kgdb.c @@ -266,6 +266,7 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, ptr = &remcomInBuffer[1]; if (kgdb_hex2long(&ptr, &addr)) linux_regs->pc = addr; + /* fallthrough */ case 'D': case 'k': atomic_set(&kgdb_cpu_doing_single_step, -1); |