Re: [Qemu-devel] [PATCH 09/14] usb-linux: Don't declare a usbdevice_name

2011-06-01 Thread Hans de Goede
Hi, On 06/01/2011 02:44 PM, Gerd Hoffmann wrote: On 05/31/11 11:35, Hans de Goede wrote: Declaring a usbdevice_name while we still have an explicit call to usb_host_device_open in vl.c causes usb_host_device_open to get called twice if the initial call fails. Wrong way around, the vl.c call s

Re: [Qemu-devel] [PATCH 09/14] usb-linux: Don't declare a usbdevice_name

2011-06-01 Thread Gerd Hoffmann
On 05/31/11 11:35, Hans de Goede wrote: Declaring a usbdevice_name while we still have an explicit call to usb_host_device_open in vl.c causes usb_host_device_open to get called twice if the initial call fails. Wrong way around, the vl.c call should be zapped instead. Just did. cheers, Gerd

[Qemu-devel] [PATCH 09/14] usb-linux: Don't declare a usbdevice_name

2011-05-31 Thread Hans de Goede
Declaring a usbdevice_name while we still have an explicit call to usb_host_device_open in vl.c causes usb_host_device_open to get called twice if the initial call fails. --- usb-linux.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index eb9