ehci: fix assertion typo
PATCH 1/1 ehci: fix assertion typo
Signed-off-by Alejandro Martinez Ruiz <[email protected]>
--- hw/usb/hcd-ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/hcd-ehci.c +1 -1
@@ -2010,7 +2010,7 @@ static void ehci_fill_queue(EHCIPacket *p) p->qtdaddr = qtdaddr; p->qtd = qtd; p->usb_status =ehci_execute (p,"queue" ); -assert (p->usb_status =USB_RET_ASYNC ); +assert (p->usb_status ==USB_RET_ASYNC ); p->async =EHCI_ASYNC_INFLIGHT ; } }
Signature · 1 line
1.7.12.rc2.18.g61b472e
Am 14.08.2012 16:13, schrieb Alejandro Martinez Ruiz:
Quoted 4 lines
Signed-off-by Alejandro Martinez Ruiz <[email protected]>--- hw/usb/hcd-ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Andreas Färber <[email protected]>
Patch looks like a sensible bugfix for 1.2, we most likely don't intend to overwrite the status. Gerd, could you take a second look?
Andreas
Quoted 15 lines
hw/usb/hcd-ehci.c +1
-1@@ -2010,7 +2010,7 @@ static void ehci_fill_queue(EHCIPacket *p) p->qtdaddr = qtdaddr; p->qtd = qtd; p->usb_status =ehci_execute (p,"queue" ); -assert (p->usb_status =USB_RET_ASYNC ); +assert (p->usb_status ==USB_RET_ASYNC ); p->async =EHCI_ASYNC_INFLIGHT ; } }
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Stefan Hajnoczi
AppliedQuoted 4 lines · Alejandro Martinez Ruiz
Signed-off-by Alejandro Martinez Ruiz <[email protected]>--- hw/usb/hcd-ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Looks good but would be good to hear from Gerd just to be sure.
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan