[patch]missing test for ESHUTDOWN in adutux driver

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization SuSE Linux
Message-ID <[email protected]>
Hi,

this driver lacks a test for unlink due to ESHUTDOWN

	Regards
		Oliver

Signed-off-by: Oliver Neukum <[email protected]>

---
--- a/drivers/usb/misc/adutux.c	2007-08-16 15:38:18.000000000 +0200
+++ b/drivers/usb/misc/adutux.c	2007-08-16 15:38:26.000000000 +0200
@@ -188,7 +188,8 @@ static void adu_interrupt_in_callback(st
 	spin_lock(&dev->buflock);
 
 	if (status != 0) {
-		if ((status != -ENOENT) && (status != -ECONNRESET)) {
+		if ((status != -ENOENT) && (status != -ECONNRESET) &&
+			(status != -ESHUTDOWN)) {
 			dbg(1," %s : nonzero status received: %d",
 			    __FUNCTION__, status);
 		}

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.