All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] ehci: fix assertion typo
@ 2012-08-14 14:13 ` Alejandro Martinez Ruiz
  0 siblings, 0 replies; 6+ messages in thread
From: Alejandro Martinez Ruiz @ 2012-08-14 14:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

Signed-off-by: Alejandro Martinez Ruiz <alex@securiforest.com>
---
 hw/usb/hcd-ehci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index b043e7c..104c21d 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -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;
     }
 }
-- 
1.7.12.rc2.18.g61b472e



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-15 13:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14 14:13 [Qemu-trivial] [PATCH] ehci: fix assertion typo Alejandro Martinez Ruiz
2012-08-14 14:13 ` [Qemu-devel] " Alejandro Martinez Ruiz
2012-08-14 15:27 ` [Qemu-trivial] " Andreas Färber
2012-08-14 15:27   ` Andreas Färber
2012-08-15 13:35 ` [Qemu-trivial] " Stefan Hajnoczi
2012-08-15 13:35   ` [Qemu-devel] " Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.