linux/drivers/soc/ti
Thomas Weißschuh b51878b5ed soc: ti: pruss: don't use %pK through printk
[ Upstream commit a5039648f8 ]

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/20250811-restricted-pointers-soc-v2-1-7af7ed993546@linutronix.de
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-11-13 15:34:02 -05:00
..
k3-ringacc.c soc: ti: k3-ringacc: Constify struct k3_ring_ops 2024-08-06 15:33:32 -05:00
k3-socinfo.c soc: ti: k3-socinfo: Do not use syscon helper to build regmap 2025-05-29 11:02:36 +02:00
Kconfig pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
knav_dma.c soc: ti: knav: Use of_property_read_variable_u32_array() 2024-08-06 16:29:13 -05:00
knav_qmss.h soc: ti: knav_qmss: Constify struct knav_range_ops 2024-06-27 17:45:28 -05:00
knav_qmss_acc.c soc: ti: knav_qmss: Constify struct knav_range_ops 2024-06-27 17:45:28 -05:00
knav_qmss_queue.c soc: ti: knav_qmss_queue: do device_node auto cleanup 2024-08-28 12:18:02 -05:00
Makefile soc: ti: Mover power-domain drivers to the genpd dir 2023-07-14 10:40:56 +02:00
pm33xx.c soc: ti: pm33xx: do device_node auto cleanup 2024-08-28 12:18:02 -05:00
pruss.c soc: ti: pruss: don't use %pK through printk 2025-11-13 15:34:02 -05:00
pruss.h soc: ti: pruss: Add pruss_cfg_read()/update(), pruss_cfg_get_gpmux()/set_gpmux() APIs 2023-05-17 09:15:39 -05:00
smartreflex.c soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-05 14:01:25 +01:00
ti_sci_inta_msi.c soc: ti: Explicitly include correct DT includes 2023-07-25 06:26:34 -05:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message 2024-04-09 11:11:59 -05:00