diff options
| author | Thomas Weißschuh <[email protected]> | 2025-08-03 14:49:47 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-08-03 14:49:47 +0000 |
| commit | 2362e8124ed21445c6886806e5deaee717629ddd (patch) | |
| tree | 083f6d39117bb8cc12a770527a8904f4f130f954 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
| parent | LoongArch: Avoid in-place string operation on FDT content (diff) | |
| download | kernel-2362e8124ed21445c6886806e5deaee717629ddd.tar.gz kernel-2362e8124ed21445c6886806e5deaee717629ddd.zip | |
LoongArch: Don't use %pK through printk() in unwinder
In the past %pK was preferable to %p as it would not leak raw pointer
values into the kernel log.
Since commit ad67b74d2469 ("printk: hash addresses printed with %p")
the regular %p has been improved to avoid this issue.
Furthermore, restricted pointers ("%pK") were never meant to be used
through printk(). They can still unintentionally leak raw pointers or
acquire sleeping locks in atomic contexts.
Switch to the regular pointer formatting which is safer and easier to
reason about.
Cc: [email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions
