Re: [PATCH 2/2] hw: ehci: check return value of 'usb_packet_map'

2020-08-18 Thread Gerd Hoffmann
On Wed, Aug 12, 2020 at 09:17:27AM -0700, Li Qiang wrote: > If 'usb_packet_map' fails, we should stop to process the usb > request. Queued up all three ehci/xhci patches. thanks, Gerd

[PATCH 2/2] hw: ehci: check return value of 'usb_packet_map'

2020-08-12 Thread Li Qiang
If 'usb_packet_map' fails, we should stop to process the usb request. Signed-off-by: Li Qiang --- hw/usb/hcd-ehci.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 58cceacbf8..4da446d2de 100644 --- a/hw/usb/hcd-ehci.c