projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b69a9
)
USB: missing test for ESHUTDOWN in adutux driver
author
Oliver Neukum
<oneukum@suse.de>
Thu, 16 Aug 2007 14:02:08 +0000
(16:02 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 12 Oct 2007 21:55:16 +0000
(14:55 -0700)
this driver lacks a test for unlink due to ESHUTDOWN
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/adutux.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/misc/adutux.c
b/drivers/usb/misc/adutux.c
index e9fdbc8997b32c2be588a3b52030448c4a689307..5131cbfb2f5230cec9c0c3cd9d5c95d5f5731538 100644
(file)
--- a/
drivers/usb/misc/adutux.c
+++ b/
drivers/usb/misc/adutux.c
@@
-188,7
+188,8
@@
static void adu_interrupt_in_callback(struct urb *urb)
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);
}