summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Bezdeka <florian.bezdeka@siemens.com>2026-10-30 13:31:41 +0100
committerThomas Gleixner <tglx@kernel.org>2026-11-09 16:43:18 +0100
commit75b1663222d7aa0b3c33cc3522a347757e6d1d26 (patch)
tree3a62253fb8a5fecc71f41218c699584f05194fe1 /include
parent6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff)
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@siemens.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20261030-wip-flo-fixup-entry-code-v1-1-7724c29e800b@siemens.com
Diffstat (limited to 'include')
-rw-r--r--include/linux/entry-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index fa2854fed1f2..a8b2430eadc5 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)
{
/*