From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7654D13D53C; Sun, 1 Mar 2026 02:04:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772330691; cv=none; b=gtDjEocercQvT4EH+mo0TVckAhtRX5pC2QCIXZFYX0dl+nJVIanXmMziZD0CK6SFWz6mKZIcUYi7aORwQyLnt09vCwGOGGNvTzgdrId5YqFmg6w5Vczr0ROD2KeIks+ZR4Jt2X4aHfnbVuizIPe1F79iSxKiqd1SkA4xM9UD3gs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772330691; c=relaxed/simple; bh=0GOx9MffM6mBIEN1M9kAVWJo1HQ88vbnH24yGUwyk5o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PKZQ4Ht6pK0mRU936pBOwOKDgRUFnroNvCCCbst/CbkPX06ZhU+/l0EUdMfWVSpLLT3LdaPkUUDAxqTOWfxRtJVhejcLN0TjRacI7lVZCRQSNChsy6b7+r6uPsfdr1U/xhZ4AVRAca+noFEtUxAAyPLWPuZ1qTVXidSqho0xjLQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JSB25Ppl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JSB25Ppl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D59ADC19421; Sun, 1 Mar 2026 02:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772330691; bh=0GOx9MffM6mBIEN1M9kAVWJo1HQ88vbnH24yGUwyk5o=; h=From:To:Cc:Subject:Date:From; b=JSB25PplzduDEaf6aCCtRqM4UnlYJ5wlI4W3ehcKWeJlvywqY07gB/UncFRQkfmGh eBn+R4IwoeNlJ/7i0CGUfG/HDqfO6VhNsK83a9/sBXcDj1Y2CGoLX4C77Hw31Al33+ ziZPpPghYXPA0exHemenkS+Yt3FE+qURBW66GlL257jLD6n+ja9UVTIRru5j6WmvHn Qo/LabviQaiUvfy78fKCo/RzF2qej9jdcZAklsjgiwT9S7VHlXV+QOmuwkxFVQU74s NlcL/lqKYAaHHQiyMRmrFQyXkgyY7dN67wANc9o2hKmmqLpcwcOurwgxzFXPyn9qrT GGCNLG56KFgtw== From: Sasha Levin To: stable@vger.kernel.org, yangtiezhu@loongson.cn Cc: Huacai Chen , loongarch@lists.linux.dev Subject: FAILED: Patch "LoongArch: Use %px to print unmodified unwinding address" failed to apply to 5.10-stable tree Date: Sat, 28 Feb 2026 21:04:49 -0500 Message-ID: <20260301020449.1733353-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From 77403a06d845db1caf9a6b0867b43e9dd8de8e4a Mon Sep 17 00:00:00 2001 From: Tiezhu Yang Date: Tue, 10 Feb 2026 19:31:13 +0800 Subject: [PATCH] LoongArch: Use %px to print unmodified unwinding address Currently, use %p to prevent leaking information about the kernel memory layout when printing the PC address, but the kernel log messages are not useful to debug problem if bt_address() returns 0. Given that the type of "pc" variable is unsigned long, it should use %px to print the unmodified unwinding address. Cc: stable@vger.kernel.org Signed-off-by: Tiezhu Yang Signed-off-by: Huacai Chen --- arch/loongarch/kernel/unwind_orc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/loongarch/kernel/unwind_orc.c b/arch/loongarch/kernel/unwind_orc.c index 8a6e3429a860e..d6b3688a1ce97 100644 --- a/arch/loongarch/kernel/unwind_orc.c +++ b/arch/loongarch/kernel/unwind_orc.c @@ -494,7 +494,7 @@ bool unwind_next_frame(struct unwind_state *state) state->pc = bt_address(pc); if (!state->pc) { - pr_err("cannot find unwind pc at %p\n", (void *)pc); + pr_err("cannot find unwind pc at %px\n", (void *)pc); goto err; } -- 2.51.0