From 7c1de3f4d7a711160ec55977cc6f2367c6ac69e5 Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Sun, 6 Oct 2019 02:54:54 +0200 Subject: [PATCH] dwc_otg: don't leak kernel address Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"), an obfuscated kernel pointer is printed at boot: dwc_otg fe980000.usb: base=(____ptrval____) Remove the the print completely, as it's useless without the address. Signed-off-by: Matteo Croce --- drivers/usb/host/dwc_otg/dwc_otg_driver.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/host/dwc_otg/dwc_otg_driver.c b/drivers/usb/host/dwc_otg/dwc_otg_driver.c index 6bfd35c57814a..fa063804931f3 100644 --- a/drivers/usb/host/dwc_otg/dwc_otg_driver.c +++ b/drivers/usb/host/dwc_otg/dwc_otg_driver.c @@ -834,7 +834,6 @@ static int dwc_otg_driver_probe( retval = -ENOMEM; goto fail; } - dev_info(&_dev->dev, "base=%p\n", dwc_otg_device->os_dep.base); #endif /*