diff options
| author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2026-02-10 19:31:13 +0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:55 -0500 |
| commit | 808ac152e46a9f5faa441646d9c2c9e709425188 (patch) | |
| tree | d7107668ba41929d5fef4cfe6dd2ba9768dc8c3a /include/net/aligned_data.h | |
| parent | af7db33e5d2e28ecb2371090114687727f8e7adc (diff) | |
LoongArch: Use %px to print unmodified unwinding address
[ Upstream commit 77403a06d845db1caf9a6b0867b43e9dd8de8e4a ]
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 <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
