[<prev] [next>] [day] [month] [year] [list]
Message-ID: <160753947905.3364.18345219723110466627.tip-bot2@tip-bot2>
Date: Wed, 09 Dec 2020 18:44:39 -0000
From: "tip-bot2 for Gustavo A. R. Silva" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: perf/core] uprobes/x86: Fix fall-through warnings for Clang
The following commit has been merged into the perf/core branch of tip:
Commit-ID: bd11952b400fdfdf3b017500ad6475f5b624d167
Gitweb: https://git.kernel.org/tip/bd11952b400fdfdf3b017500ad6475f5b624d167
Author: Gustavo A. R. Silva <gustavoars@...nel.org>
AuthorDate: Fri, 20 Nov 2020 12:32:37 -06:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Wed, 09 Dec 2020 17:08:59 +01:00
uprobes/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 letting the code fall
through to the next case.
Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Link: https://github.com/KSPP/linux/issues/115
---
arch/x86/kernel/uprobes.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/uprobes.c b/arch/x86/kernel/uprobes.c
index 3fdaa04..90f44f4 100644
--- a/arch/x86/kernel/uprobes.c
+++ b/arch/x86/kernel/uprobes.c
@@ -1015,6 +1015,8 @@ int arch_uprobe_exception_notify(struct notifier_block *self, unsigned long val,
if (uprobe_post_sstep_notifier(regs))
ret = NOTIFY_STOP;
+ break;
+
default:
break;
}
Powered by blists - more mailing lists