linux/drivers/virt/acrn
Thomas Weißschuh 93b17c6afa drivers: virt: acrn: 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 ad67b74d24 ("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>
Link: https://lore.kernel.org/r/20250718-restricted-pointers-virt-v1-1-12913fceaf52@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-24 11:42:01 +02:00
..
acrn_drv.h virt: acrn: Annotate struct vm_memory_region_batch with __counted_by 2023-10-08 22:46:04 -07:00
hsm.c drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl 2025-02-20 15:20:34 +01:00
hypercall.h
ioeventfd.c eventfd: simplify eventfd_signal() 2023-11-28 14:08:38 +01:00
ioreq.c drivers: virt: acrn: Don't use %pK through printk 2025-07-24 11:42:01 +02:00
irqfd.c virt: acrn: Remove unused list 'acrn_irqfd_clients' 2025-05-01 17:57:24 +02:00
Kconfig
Makefile
mm.c drivers: virt: acrn: Don't use %pK through printk 2025-07-24 11:42:01 +02:00
vm.c