[PATCH] remoteproc: Don't use %pK through printk
Bjorn Andersson
andersson at kernel.org
Tue Jun 17 14:30:52 PDT 2025
On Wed, 11 Jun 2025 12:03:06 +0200, 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, thanks!
[1/1] remoteproc: Don't use %pK through printk
commit: b0dc512ab7ba177442cfec4a65b2681355d7cb64
Best regards,
--
Bjorn Andersson <andersson at kernel.org>
More information about the linux-arm-kernel
mailing list