aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid-b@pacbell.net <david-b@pacbell.net>2005-08-11 22:36:36 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 19:28:25 -0400
commit8f34c2883b894b9a97f07b23b5b86fd65ecd2f85 (patch)
tree2f2d396c8033c4ca1ab8aea81a0f6f2874c8b138
parentf956e7cd9ac4618b98022020e638bbdc01d9d65a (diff)
[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: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/core/message.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
index 74197249c245..c47c8052b486 100644
--- a/drivers/usb/core/message.c
+++ b/drivers/usb/core/message.c
@@ -265,7 +265,9 @@ static void sg_complete (struct urb *urb, struct pt_regs *regs)
265 continue; 265 continue;
266 if (found) { 266 if (found) {
267 status = usb_unlink_urb (io->urbs [i]); 267 status = usb_unlink_urb (io->urbs [i]);
268 if (status != -EINPROGRESS && status != -EBUSY) 268 if (status != -EINPROGRESS
269 && status != -ENODEV
270 && status != -EBUSY)
269 dev_err (&io->dev->dev, 271 dev_err (&io->dev->dev,
270 "%s, unlink --> %d\n", 272 "%s, unlink --> %d\n",
271 __FUNCTION__, status); 273 __FUNCTION__, status);