summaryrefslogtreecommitdiff
path: root/drivers/usb/usbip/stub_main.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2017-12-19 03:23:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-19 13:40:54 +0300
commit248a22044366f588d46754c54dfe29ffe4f8b4df (patch)
tree40873c546b9e633a382a42f8f33ab3f484ea70e0 /drivers/usb/usbip/stub_main.c
parent8272d099d05f7ab2776cf56a2ab9f9443be18907 (diff)
downloadlinux-248a22044366f588d46754c54dfe29ffe4f8b4df.tar.xz
usbip: stub: stop printing kernel pointer addresses in messages
Remove and/or change debug, info. and error messages to not print kernel pointer addresses. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/stub_main.c')
-rw-r--r--drivers/usb/usbip/stub_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/usbip/stub_main.c b/drivers/usb/usbip/stub_main.c
index 4f48b306713f..c31c8402a0c5 100644
--- a/drivers/usb/usbip/stub_main.c
+++ b/drivers/usb/usbip/stub_main.c
@@ -237,11 +237,12 @@ void stub_device_cleanup_urbs(struct stub_device *sdev)
struct stub_priv *priv;
struct urb *urb;
- dev_dbg(&sdev->udev->dev, "free sdev %p\n", sdev);
+ dev_dbg(&sdev->udev->dev, "Stub device cleaning up urbs\n");
while ((priv = stub_priv_pop(sdev))) {
urb = priv->urb;
- dev_dbg(&sdev->udev->dev, "free urb %p\n", urb);
+ dev_dbg(&sdev->udev->dev, "free urb seqnum %lu\n",
+ priv->seqnum);
usb_kill_urb(urb);
kmem_cache_free(stub_priv_cache, priv);