usb: dwc3: replace %p with %pK
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 17 May 2017 12:57:45 +0000 (15:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jul 2017 13:01:03 +0000 (15:01 +0200)
commit3272bad0c2aa7a48a5851acd6061a74210c974d1
treeed28e347c49cae915eaf4766d540cd65decb1fd5
parent366d9207d9e002bf1a6d9da13a7f8f85b8a40c0b
usb: dwc3: replace %p with %pK

commit 04fb365c453e14ff9e8a28f1c46050d920a27a4a upstream.

%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.

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