From patchwork Fri Feb 22 11:11:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 222516 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 84C9F2C02AD for ; Fri, 22 Feb 2013 22:12:56 +1100 (EST) Received: from localhost ([::1]:58738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8qYg-00006O-LE for incoming@patchwork.ozlabs.org; Fri, 22 Feb 2013 06:12:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8qXy-0006Yl-UL for qemu-devel@nongnu.org; Fri, 22 Feb 2013 06:12:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8qXq-0005Dn-AE for qemu-devel@nongnu.org; Fri, 22 Feb 2013 06:12:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8qXq-0005DH-2Q for qemu-devel@nongnu.org; Fri, 22 Feb 2013 06:12:02 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1MBC0OH025864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Feb 2013 06:12:01 -0500 Received: from rincewind.home.kraxel.org (ovpn-116-18.ams2.redhat.com [10.36.116.18]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r1MBC0hn024068; Fri, 22 Feb 2013 06:12:00 -0500 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id A93504230E; Fri, 22 Feb 2013 12:11:59 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Fri, 22 Feb 2013 12:11:59 +0100 Message-Id: <1361531519-4793-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1361531519-4793-1-git-send-email-kraxel@redhat.com> References: <1361531519-4793-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH 2/2] unbreak hw/usb/redirect.c build 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 Commit 8550a02d1239415342959f6a32d178bc05c557cc added a streams parameter to usb_wakeup and didn't update redirect.c. Fix it. Signed-off-by: Gerd Hoffmann --- hw/usb/redirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 7078403..c519b9b 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -1897,7 +1897,7 @@ static void usbredir_interrupt_packet(void *priv, uint64_t id, } if (QTAILQ_EMPTY(&dev->endpoint[EP2I(ep)].bufpq)) { - usb_wakeup(usb_ep_get(&dev->dev, USB_TOKEN_IN, ep & 0x0f)); + usb_wakeup(usb_ep_get(&dev->dev, USB_TOKEN_IN, ep & 0x0f), 0); } /* bufp_alloc also adds the packet to the ep queue */