Re: [Qemu-devel] [PATCH 01/12] usb-linux: catch NODEV in more places.

2011-05-26 Thread Gerd Hoffmann
On 05/26/11 20:20, Markus Armbruster wrote: Gerd Hoffmann writes: Factor out disconnect code (called when a device disappears) to a separate function. Add a check for NODEV errno to a few more places to make sure we notice disconnects. Ah, you mean ENODEV! Suddenly the subject makes sense.

Re: [Qemu-devel] [PATCH 01/12] usb-linux: catch NODEV in more places.

2011-05-26 Thread Markus Armbruster
Gerd Hoffmann writes: > Factor out disconnect code (called when a device disappears) to a > separate function. Add a check for NODEV errno to a few more places to > make sure we notice disconnects. Ah, you mean ENODEV! Suddenly the subject makes sense. Fix it up? [...]

[Qemu-devel] [PATCH 01/12] usb-linux: catch NODEV in more places.

2011-05-26 Thread Gerd Hoffmann
Factor out disconnect code (called when a device disappears) to a separate function. Add a check for NODEV errno to a few more places to make sure we notice disconnects. Signed-off-by: Gerd Hoffmann --- usb-linux.c | 27 --- 1 files changed, 20 insertions(+), 7 deletio