Re: [PATCH] usb: call usb_packet_cleanup on usb_packet_map failure

2020-09-01 Thread Li Qiang
Gerd Hoffmann 于2020年9月1日周二 下午1:28写道: > > Signed-off-by: Gerd Hoffmann > --- > hw/usb/hcd-ehci.c | 2 ++ > hw/usb/hcd-xhci.c | 1 + > 2 files changed, 3 insertions(+) > > diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c > index 2b995443fbfd..67847a9cf5f1 100644 > --- a/hw/usb/hcd-ehci.c > +++ b

Re: [PATCH] usb: call usb_packet_cleanup on usb_packet_map failure

2020-09-01 Thread Philippe Mathieu-Daudé
On 9/1/20 7:27 AM, Gerd Hoffmann wrote: Reported-by: Prasad J Pandit > Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé > --- > hw/usb/hcd-ehci.c | 2 ++ > hw/usb/hcd-xhci.c | 1 + > 2 files changed, 3 insertions(+) > > diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c > i

[PATCH] usb: call usb_packet_cleanup on usb_packet_map failure

2020-08-31 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-ehci.c | 2 ++ hw/usb/hcd-xhci.c | 1 + 2 files changed, 3 insertions(+) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 2b995443fbfd..67847a9cf5f1 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -1373,6 +1373,7 @@ static int ehci_ex