summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-08-11 10:46:49 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-08-29 12:04:02 +0300
commit5e6c90892c24c8e51a69ac0a758fa55ec3dec593 (patch)
tree06dc985ef495d0cda2ef4a5634c85b0b434a578f /include/uapi
parentd5d299e7e7f6b4ead31383d4abffca34e4296df0 (diff)
downloadlinux-5e6c90892c24c8e51a69ac0a758fa55ec3dec593.tar.xz
media: platform: mtk-mdp3: don't use %pK through printk
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. Switch to the regular pointer formatting which is safer and easier to reason about. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions