Re: [Qemu-devel] [PATCH] usb: delete error_report() for usb-bot

2014-11-16 Thread Gonglei
On 2014/11/17 13:49, Jun Li wrote: > When no device under usb-bot bus, usb_msd_handle_data() will print "usb-msd: > Bad > LUN 0". This is not correct hints. So delete error_report here. When > scsi_device_find() return NULL, just goto fail. > If the hints is incorrect, I think you should change

[Qemu-devel] [PATCH] usb: delete error_report() for usb-bot

2014-11-16 Thread Jun Li
When no device under usb-bot bus, usb_msd_handle_data() will print "usb-msd: Bad LUN 0". This is not correct hints. So delete error_report here. When scsi_device_find() return NULL, just goto fail. This patch fixes following bug. https://bugzilla.redhat.com/show_bug.cgi?id=1164665 Signed-off-by: