From patchwork Wed Aug 15 15:08:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 177715 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CEF542C009B for ; Thu, 16 Aug 2012 01:58:02 +1000 (EST) Received: from localhost ([::1]:36259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1fEY-0007Th-3e for incoming@patchwork.ozlabs.org; Wed, 15 Aug 2012 11:10:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1fDl-0005Pm-J6 for qemu-devel@nongnu.org; Wed, 15 Aug 2012 11:09:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1fDj-0001Eb-4e for qemu-devel@nongnu.org; Wed, 15 Aug 2012 11:09:21 -0400 Received: from e06smtp18.uk.ibm.com ([195.75.94.114]:51753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1fDi-0001E0-SA for qemu-devel@nongnu.org; Wed, 15 Aug 2012 11:09:19 -0400 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 15 Aug 2012 16:09:18 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp18.uk.ibm.com (192.168.101.148) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 15 Aug 2012 16:09:16 +0100 Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q7FF997M16121870 for ; Wed, 15 Aug 2012 15:09:09 GMT Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q7FF9Edf030960 for ; Wed, 15 Aug 2012 09:09:15 -0600 Received: from localhost (sig-9-145-129-230.de.ibm.com [9.145.129.230]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q7FF9DSR030909; Wed, 15 Aug 2012 09:09:14 -0600 From: Stefan Hajnoczi To: Anthony Liguori Date: Wed, 15 Aug 2012 16:08:57 +0100 Message-Id: <1345043344-3978-3-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1345043344-3978-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1345043344-3978-1-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 x-cbid: 12081515-6892-0000-0000-000002B81864 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.114 Cc: Alejandro Martinez Ruiz , qemu-devel@nongnu.org, Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 2/9] ehci: fix assertion typo X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Alejandro Martinez Ruiz Signed-off-by: Alejandro Martinez Ruiz Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- 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; } }