diff options
author | Jeff Layton <jlayton@kernel.org> | 2025-06-18 10:24:14 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-19 17:02:03 -0700 |
commit | 7d02ba96635d184dfc292ecc7308ced1fceaba8d (patch) | |
tree | 5fd862a3cf0a6bb05e0a15b3fdad9f8dec0c83a6 /net/unix/af_unix.c | |
parent | e04c78d86a9699d136910cfc0bdcf01087e3267e (diff) |
ref_tracker: don't use %pK in pr_ostream() output
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/
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20250618-reftrack-dbgfs-v15-1-24fc37ead144@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions