[PATCH v12 02/10] ref_tracker: don't use %pK in pr_ostream() output

Krzysztof Karas krzysztof.karas at intel.com
Fri May 30 11:03:36 UTC 2025


Hi Jeff,

> As Thomas Weißschuh points out [1], it is now preferable to use %p
> instead of hashed pointers with printk(), since raw pointers should no
> longer be leaked into the kernel log. Change the ref_tracker
> infrastructure to use %p instead of %pK in its formats.
> 
> [1]: https://lore.kernel.org/netdev/20250414-restricted-pointers-net-v1-0-12af0ce46cdd@linutronix.de/
> 
> Cc: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> Reviewed-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> Signed-off-by: Jeff Layton <jlayton at kernel.org>
> ---

Reviewed-by: Krzysztof Karas <krzysztof.karas at intel.com>

Best Regards,
Krzysztof


More information about the Intel-gfx mailing list