diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2026-09-18 12:37:25 +0200 |
|---|---|---|
| committer | Andi Shyti <andi@zenone.zhora.eu> | 2026-09-30 18:08:58 +0200 |
| commit | 4e8bc6b5bbe6305e530e2f024cf983506d72f657 (patch) | |
| tree | 3307467363eb15070f4e8bf3343b31d83ca6b1e0 /tools/lib/python/kdoc/python_version.py | |
| parent | c9e608d1247cd4c286a54d7f26188c41e8f0a6c2 (diff) | |
drm/i915: Use %p for pointer formatting
Commit 2563a4524febe ("drm/i915: restrict kernel address leak in
debugfs") introduced the %pK modifier in order not to leak kernel
pointer.
Since commit ad67b74d2469d ("printk: hash addresses printed with
%p") pointers are hashed by default and the behaviour can be controller
by `hash_pointers' boot argument.
The policy on %p is to not introduce new ones. Keeping the %p allows
to assign an id to the object.
Removing %pK makes it possible to remove its handling from the library.
Use %p instead %pK to allow debugging if needed.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patch.msgid.link/20260918103725.cfYzL1Wt@linutronix.de
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
