]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/exynos: Don't use %pK through printk
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 18 Jun 2025 07:52:21 +0000 (09:52 +0200)
committerInki Dae <inki.dae@samsung.com>
Sun, 29 Jun 2025 07:58:13 +0000 (16:58 +0900)
commit18665eaa2acbe17da11c2748ac43c2f4ec2fad85
tree1eaf1916ab3b219ae5749103fe8ffbeb2a87e250
parent9fbceb37c95939182e1409211447a1d3f3db9274
drm/exynos: 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: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_ipp.c