Re: [PATCH] drm/msm/dpu: Don't use %pK through printk (again)

From: Dmitry Baryshkov

Date: Mon Feb 23 2026 - 23:07:53 EST


On Mon, 23 Feb 2026 08:16:55 +0100, Thomas Weißschuh wrote:
> 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.
>
> [...]

Applied to msm-fixes, thanks!

[1/1] drm/msm/dpu: Don't use %pK through printk (again)
https://gitlab.freedesktop.org/lumag/msm/-/commit/5886cc8f895b

Best regards,
--
With best wishes
Dmitry