Commit 8f34c288 authored by david-b@pacbell.net's avatar david-b@pacbell.net Committed by Greg Kroah-Hartman

[PATCH] USB: remove annoying message

Avoid an annoying message that can appear if devices are disconnected
in the middle of a USB scatterlist operation.

Message noted in http://bugzilla.kernel.org/show_bug.cgi?id=4373
(but the real issue there seems to be a SCSI level hang).
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f956e7cd
...@@ -265,7 +265,9 @@ static void sg_complete (struct urb *urb, struct pt_regs *regs) ...@@ -265,7 +265,9 @@ static void sg_complete (struct urb *urb, struct pt_regs *regs)
continue; continue;
if (found) { if (found) {
status = usb_unlink_urb (io->urbs [i]); status = usb_unlink_urb (io->urbs [i]);
if (status != -EINPROGRESS && status != -EBUSY) if (status != -EINPROGRESS
&& status != -ENODEV
&& status != -EBUSY)
dev_err (&io->dev->dev, dev_err (&io->dev->dev,
"%s, unlink --> %d\n", "%s, unlink --> %d\n",
__FUNCTION__, status); __FUNCTION__, status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment