[tip: core/urgent] entry: Fix return type of syscall_trace_enter()

From: tip-bot2 for Florian Bezdeka

Date: Mon Nov 09 2026 - 10:52:38 EST


The following commit has been merged into the core/urgent branch of tip:

Commit-ID: 75b1663222d7aa0b3c33cc3522a347757e6d1d26
Gitweb: https://git.kernel.org/tip/75b1663222d7aa0b3c33cc3522a347757e6d1d26
Author: Florian Bezdeka <florian.bezdeka@xxxxxxxxxxx>
AuthorDate: Fri, 30 Oct 2026 13:31:41 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Mon, 09 Nov 2026 16:43:18 +01:00

entry: Fix return type of syscall_trace_enter()

All return values of syscall_trace_enter() were migrated to bool in
commit 71ff30013f19 ("entry: Make return type of syscall_trace_enter() bool"),
but the function declaration has not been updated.

Fix that up now.

Fixes: 71ff30013f19 ("entry: Make return type of syscall_trace_enter() bool")
Signed-off-by: Florian Bezdeka <florian.bezdeka@xxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
Link: https://patch.msgid.link/20261030-wip-flo-fixup-entry-code-v1-1-7724c29e800b@xxxxxxxxxxx
---
include/linux/entry-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index fa2854f..a8b2430 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -62,7 +62,7 @@ void trace_syscall_enter(struct pt_regs *regs);
void trace_syscall_exit(struct pt_regs *regs, long ret);
void syscall_enter_audit(struct pt_regs *regs);

-static __always_inline long syscall_trace_enter(struct pt_regs *regs, unsigned long work,
+static __always_inline bool syscall_trace_enter(struct pt_regs *regs, unsigned long work,
long syscall)
{
/*