summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-06-18 10:43:34 +0300
committerVinod Koul <vkoul@kernel.org>2025-06-27 01:27:55 +0300
commit6e6d3c6f0ef235a95c25385b2dad98e8ad6223eb (patch)
tree6ae326d11425e9ac4b89927901a9e1ac58fee91e /net/lapb/lapb_in.c
parente19bdbaa31082b43dab1d936e20efcebc30aa73d (diff)
downloadlinux-6e6d3c6f0ef235a95c25385b2dad98e8ad6223eb.tar.xz
dmaengine: stm32: 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> Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20250618-restricted-pointers-dma-v2-1-bc39dafc201d@linutronix.de Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions