Re: [PATCH] RDMA: Don't use %pK through printk
From: Leon Romanovsky
Date: Wed Apr 09 2025 - 13:01:38 EST
On Mon, 07 Apr 2025 10:25:09 +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 looks in atomic contexts.
>
> [...]
Applied, thanks!
[1/1] RDMA: Don't use %pK through printk
https://git.kernel.org/rdma/rdma/c/9452c85b58d315
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>