mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Bezdeka <florian.bezdeka@siemens.com>
To: Thomas Gleixner <tglx@kernel.org>,
	 Peter Zijlstra <peterz@infradead.org>,
	Andy Lutomirski <luto@kernel.org>,
	 Jinjie Ruan <ruanjinjie@huawei.com>
Cc: linux-kernel@vger.kernel.org,
	 Florian Bezdeka <florian.bezdeka@siemens.com>
Subject: [PATCH 2/2] entry: Complete syscall_enter_from_user_mode_work() to bool migration
Date: Fri, 30 Oct 2026 13:31:42 +0100	[thread overview]
Message-ID: <20261030-wip-flo-fixup-entry-code-v1-2-7724c29e800b@siemens.com> (raw)
In-Reply-To: <20261030-wip-flo-fixup-entry-code-v1-0-7724c29e800b@siemens.com>

The return type of syscall_enter_from_user_mode_work() was changed to
bool in the commit referenced below, see Fixes: tag.

While doing so, one caller in
syscall_enter_from_user_mode_randomize_stack() was overlooked and
stayed at the previous type: long. Updating this caller accordingly
now.

Fixes: 05c033db7e9a ("entry, treewide: Make syscall_enter_from_user_mode[_work]() indicate syscall execution")
Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---
 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 a8b2430eadc5f8500195454e24f86cd9e0d06614..15278416f8860724d90bb2f8862017fdf678771e 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;								\

-- 
2.56.0


      parent reply	other threads:[~2026-10-30 12:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 12:31 [PATCH 0/2] entry: Drive-by fixes for the entry code Florian Bezdeka
2026-10-30 12:31 ` [PATCH 1/2] entry: Fix return type of syscall_trace_enter() Florian Bezdeka
2026-10-30 12:31 ` Florian Bezdeka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261030-wip-flo-fixup-entry-code-v1-2-7724c29e800b@siemens.com \
    --to=florian.bezdeka@siemens.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=peterz@infradead.org \
    --cc=ruanjinjie@huawei.com \
    --cc=tglx@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®