aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/usbip/stub_rx.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2017-12-18 17:23:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-19 11:40:54 +0100
commit248a22044366f588d46754c54dfe29ffe4f8b4df (patch)
tree40873c546b9e633a382a42f8f33ab3f484ea70e0 /drivers/usb/usbip/stub_rx.c
parentusbip: vhci: stop printing kernel pointer addresses in messages (diff)
downloadlinux-dev-248a22044366f588d46754c54dfe29ffe4f8b4df.tar.xz
linux-dev-248a22044366f588d46754c54dfe29ffe4f8b4df.zip
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_rx.c')
-rw-r--r--drivers/usb/usbip/stub_rx.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/usb/usbip/stub_rx.c b/drivers/usb/usbip/stub_rx.c
index 493ac2928391..2f29be474098 100644
--- a/drivers/usb/usbip/stub_rx.c
+++ b/drivers/usb/usbip/stub_rx.c
@@ -211,9 +211,6 @@ static int stub_recv_cmd_unlink(struct stub_device *sdev,
if (priv->seqnum != pdu->u.cmd_unlink.seqnum)
continue;
- dev_info(&priv->urb->dev->dev, "unlink urb %p\n",
- priv->urb);
-
/*
* This matched urb is not completed yet (i.e., be in
* flight in usb hcd hardware/driver). Now we are
@@ -252,8 +249,8 @@ static int stub_recv_cmd_unlink(struct stub_device *sdev,
ret = usb_unlink_urb(priv->urb);
if (ret != -EINPROGRESS)
dev_err(&priv->urb->dev->dev,
- "failed to unlink a urb %p, ret %d\n",
- priv->urb, ret);
+ "failed to unlink a urb # %lu, ret %d\n",
+ priv->seqnum, ret);
return 0;
}