Re: [Qemu-devel] [PATCH 05/14] usb-linux: Don't call usb_host_close when usb_host_open fails

2011-06-01 Thread Gerd Hoffmann
What bug you are trying to fix here? cheers, Gerd

Re: [Qemu-devel] [PATCH 05/14] usb-linux: Don't call usb_host_close when usb_host_open fails

2011-06-01 Thread Hans de Goede
Hi, On 06/01/2011 02:22 PM, Gerd Hoffmann wrote: What bug you are trying to fix here? Nothing in particular, while looking at some other stuff I noticed that we have the following sequence, which is wrong: usb_host_open called usb_host_open calls usb_host_claim_interfaces

[Qemu-devel] [PATCH 05/14] usb-linux: Don't call usb_host_close when usb_host_open fails

2011-05-31 Thread Hans de Goede
--- usb-linux.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index e6c6138..544aea3 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -363,13 +363,16 @@ static int usb_host_claim_interfaces(USBHostDevice *dev, int configuration) const