aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-03-10 15:38:24 +0000
committerGreg Kroah-Hartman <[email protected]>2025-03-14 08:17:30 +0000
commit042c3dd1f2d3f8a27c5bb9c2e7866a674607d4d4 (patch)
tree335e141b1a3c1d2d3f6ea3bd32487003a5dbf179 /drivers/usb/cdns3/cdns3-gadget.c
parentusb: core: Don't use %pK through printk (diff)
downloadkernel-042c3dd1f2d3f8a27c5bb9c2e7866a674607d4d4.tar.gz
kernel-042c3dd1f2d3f8a27c5bb9c2e7866a674607d4d4.zip
usb: dwc3: Don't use %pK through printk
This is a revert of commit 04fb365c453e ("usb: dwc3: replace %p with %pK") When the formatting was changed from %p to %pK that was a security improvement, as %p would leak raw pointer values to the kernel log. Since commit ad67b74d2469 ("printk: hash addresses printed with %p") the regular %p has been improved to avoid this issue. On the other hand, restricted pointers ("%pK") were never meant to be used through printk(). They can unintentionally still leak raw pointers or acquire sleeping looks in atomic contexts. Switch back to regular %p again. Link: https://lore.kernel.org/lkml/20250113171731-dc10e3c1-da64-4af0-b767-7c7070468023@linutronix.de/ Acked-by: Thinh Nguyen <[email protected]> Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions