aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-08-03 14:49:47 +0000
committerHuacai Chen <[email protected]>2025-08-03 14:49:47 +0000
commit2362e8124ed21445c6886806e5deaee717629ddd (patch)
tree083f6d39117bb8cc12a770527a8904f4f130f954 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentLoongArch: Avoid in-place string operation on FDT content (diff)
downloadkernel-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_sync.c')
0 files changed, 0 insertions, 0 deletions