From efe191f1605a149b06eb0fe1ff975e7d3137c9bb Mon Sep 17 00:00:00 2001 From: Florian Bezdeka Date: Fri, 30 Oct 2026 13:31:42 +0100 Subject: entry: Complete syscall_enter_from_user_mode_work() to bool migration The return type of syscall_enter_from_user_mode_work() was changed to bool in the commit referenced below. While doing so, one caller in syscall_enter_from_user_mode_randomize_stack() was overlooked and stayed at the previous type: long. Update this caller accordingly. Fixes: 05c033db7e9a ("entry, treewide: Make syscall_enter_from_user_mode[_work]() indicate syscall execution") Signed-off-by: Florian Bezdeka Signed-off-by: Thomas Gleixner Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20261030-wip-flo-fixup-entry-code-v1-2-7724c29e800b@siemens.com --- include/linux/entry-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h index a8b2430eadc5..15278416f886 100644 --- a/include/linux/entry-common.h +++ b/include/linux/entry-common.h @@ -202,7 +202,7 @@ do { \ \ instrumentation_begin(); \ local_irq_enable(); \ - long _ret = syscall_enter_from_user_mode_work(regs, syscall); \ + bool _ret = syscall_enter_from_user_mode_work(regs, syscall); \ instrumentation_end(); \ \ _ret; \ -- cgit v1.2.3