mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
kprobes/x86: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of just letting the code fall through to the next case. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://github.com/KSPP/linux/issues/115
This commit is contained in:
parent
f8129cd958
commit
e689b300c9
|
|
@ -864,6 +864,7 @@ static void resume_execution(struct kprobe *p, struct pt_regs *regs,
|
|||
p->ainsn.boostable = true;
|
||||
goto no_change;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user