usb: dwc3: replace %p with %pK
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 17 May 2017 12:57:45 +0000 (15:57 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 2 Jun 2017 08:22:10 +0000 (11:22 +0300)
commit04fb365c453e14ff9e8a28f1c46050d920a27a4a
tree5feb1c640faf6aa241faf85d5818be3b733c0fbc
parent0df6d8db355a527c605725ffacce4bd119533a7c
usb: dwc3: replace %p with %pK

%p will leak kernel pointers, so let's not expose the information on
dmesg and instead use %pK. %pK will only show the actual addresses if
explicitly enabled under /proc/sys/kernel/kptr_restrict.

Cc: <stable@vger.kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-st.c
drivers/usb/dwc3/gadget.c