On Mon, Feb 23, 2026 at 08:16:55AM +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.
> 
> Switch to the regular pointer formatting which is safer and
> easier to reason about.
> 
> This was previously fixed in this driver in commit 1ba9fbe40337
> ("drm/msm: Don't use %pK through printk") but an additional usage
> was reintroduced in commit 39a750ff5fc9 ("drm/msm/dpu: Add DSPP GC
> driver to provide GAMMA_LUT DRM property")
> 
> Signed-off-by: Thomas Weißschuh <[email protected]>
> ---
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Fixes: 39a750ff5fc9 ("drm/msm/dpu: Add DSPP GC driver to provide GAMMA_LUT DRM 
property")

Reviewed-by: Dmitry Baryshkov <[email protected]>



-- 
With best wishes
Dmitry

Reply via email to