[PATCH v2] dmaengine: stm32: Don't use %pK through printk

Vinod Koul vkoul at kernel.org
Thu Jun 26 15:48:10 PDT 2025


On Wed, 18 Jun 2025 09:43:34 +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] dmaengine: stm32: Don't use %pK through printk
      commit: 6e6d3c6f0ef235a95c25385b2dad98e8ad6223eb

Best regards,
-- 
~Vinod





More information about the linux-arm-kernel mailing list