Skip to content

Commit 510c978

Browse files
committed
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
2 parents 07c4b9e + 3d519d6 commit 510c978

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/sh/kernel/kgdb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code,
266266
ptr = &remcomInBuffer[1];
267267
if (kgdb_hex2long(&ptr, &addr))
268268
linux_regs->pc = addr;
269+
/* fallthrough */
269270
case 'D':
270271
case 'k':
271272
atomic_set(&kgdb_cpu_doing_single_step, -1);

0 commit comments

Comments
 (0)