[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/7] usb-host: reapurb error report fix
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 1/7] usb-host: reapurb error report fix |
Date: |
Fri, 2 Sep 2011 12:01:08 +0200 |
Don't report errors on devices which are in disconnected
and closing state.
(cherry picked from commit 3d09d54e57b92aaaba8d4e8c0d1c9901f1a56c7f)
Conflicts:
usb-linux.c
---
usb-linux.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 53cc5fc..7d8a103 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -308,8 +308,10 @@ static void async_complete(void *opaque)
}
return;
}
- if (errno == ENODEV && !s->closing) {
- do_disconnect(s);
+ if (errno == ENODEV) {
+ if (!s->closing) {
+ do_disconnect(s);
+ }
return;
}
--
1.7.1
- [Qemu-devel] [STABLE PULL] usb bugfixes, Gerd Hoffmann, 2011/09/02
- [Qemu-devel] [PATCH 1/7] usb-host: reapurb error report fix,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 3/7] usb-host: fix configuration tracking., Gerd Hoffmann, 2011/09/02
- [Qemu-devel] [PATCH 2/7] usb-host: fix halted endpoints, Gerd Hoffmann, 2011/09/02
- [Qemu-devel] [PATCH 6/7] usb: fix use after free, Gerd Hoffmann, 2011/09/02
- [Qemu-devel] [PATCH 4/7] usb-host: endpoint table fixup, Gerd Hoffmann, 2011/09/02
- [Qemu-devel] [PATCH 5/7] usb-ehci: handle siTDs, Gerd Hoffmann, 2011/09/02
- [Qemu-devel] [PATCH 7/7] usb: claim port at device initialization time., Gerd Hoffmann, 2011/09/02