mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
sparc64: uprobes: add missing break
Missing fallthrough causes failure with newer compilers:
arch/sparc/kernel/uprobes.c:284:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
284 | default:
| ^
arch/sparc/kernel/uprobes.c:284:2: note: insert 'break;' to avoid fall-through
284 | default:
| ^
| break;
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
This commit is contained in:
parent
3774fd535f
commit
5b0eee4cd8
|
|
@ -280,6 +280,7 @@ int arch_uprobe_exception_notify(struct notifier_block *self,
|
|||
case DIE_SSTEP:
|
||||
if (uprobe_post_sstep_notifier(args->regs))
|
||||
ret = NOTIFY_STOP;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user