Skip to content

Commit

Permalink
dwc_otg: don't leak kernel address
Browse files Browse the repository at this point in the history
Since commit ad67b74 ("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 <mcroce@redhat.com>
  • Loading branch information
teknoraver authored and pelwell committed Oct 8, 2019
1 parent b0bb1eb commit 7c1de3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/host/dwc_otg/dwc_otg_driver.c
Expand Up @@ -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

/*
Expand Down

0 comments on commit 7c1de3f

Please sign in to comment.