]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: samsung-dsim: Don't use %pK through printk
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 18 Jun 2025 07:52:20 +0000 (09:52 +0200)
committerInki Dae <inki.dae@samsung.com>
Sun, 29 Jun 2025 09:05:51 +0000 (18:05 +0900)
commit2ab3ba39153dcdc9de7d2eec42bf19f84d4844cf
tree48e7aae1043e15c455310ad75dac3c4e57182ed7
parentfd03f82a026cc03cb8051a8c6487c99f96c9029f
drm/bridge: samsung-dsim: 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/bridge/samsung-dsim.c