From patchwork Thu Feb 21 18:16:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 222390 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 CA41E2C02AE for ; Fri, 22 Feb 2013 05:15:18 +1100 (EST) Received: from localhost ([::1]:56015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8afs-0003jG-LK for incoming@patchwork.ozlabs.org; Thu, 21 Feb 2013 13:15:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8afc-0003cG-7Y for qemu-devel@nongnu.org; Thu, 21 Feb 2013 13:15:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8afZ-0008C8-DF for qemu-devel@nongnu.org; Thu, 21 Feb 2013 13:15:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8afZ-0008Av-5A for qemu-devel@nongnu.org; Thu, 21 Feb 2013 13:14:57 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1LIEsSK003602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Feb 2013 13:14:56 -0500 Received: from blackpad.lan.raisama.net (vpn1-4-196.gru2.redhat.com [10.97.4.196]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r1LIEs8h022063; Thu, 21 Feb 2013 13:14:54 -0500 Received: by blackpad.lan.raisama.net (Postfix, from userid 500) id 4F30F204B7D; Thu, 21 Feb 2013 15:16:30 -0300 (BRT) From: Eduardo Habkost To: Gerd Hoffmann , Hans de Goede Date: Thu, 21 Feb 2013 15:16:26 -0300 Message-Id: <1361470586-3082-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH] hw/usb/redirect.c: add missing parameter to usb_wakeup() 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 broke the build because the usb_wakeup() call wasn't changed to include the new 'stream' parameter. This changes the call to pass 0 as the 'stream' parameter. Signed-off-by: Eduardo Habkost --- 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 */