From patchwork Thu Jun 23 11:08:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9194847 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DBCDB6077D for ; Thu, 23 Jun 2016 11:10:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB7F026746 for ; Thu, 23 Jun 2016 11:10:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF00E28429; Thu, 23 Jun 2016 11:10:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2033E26746 for ; Thu, 23 Jun 2016 11:10:30 +0000 (UTC) Received: from localhost ([::1]:35866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG2Wi-0004jk-RZ for patchwork-qemu-devel@patchwork.kernel.org; Thu, 23 Jun 2016 07:10:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG2WH-0004iH-2c for qemu-devel@nongnu.org; Thu, 23 Jun 2016 07:10:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG2WD-0005YD-0Z for qemu-devel@nongnu.org; Thu, 23 Jun 2016 07:10:00 -0400 Received: from smtp.citrix.com ([66.165.176.89]:47412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG2WC-0005Wv-PU for qemu-devel@nongnu.org; Thu, 23 Jun 2016 07:09:56 -0400 X-IronPort-AV: E=Sophos;i="5.26,509,1459814400"; d="scan'208";a="362297218" From: Anthony PERARD To: Date: Thu, 23 Jun 2016 12:08:29 +0100 Message-ID: <20160623110829.22671-1-anthony.perard@citrix.com> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 X-DLP: MIA2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.89 Subject: [Qemu-devel] [PATCH] xen-usb: Fix 32bit build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Anthony PERARD , Gerd Hoffmann Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Anthony PERARD Reviewed-by: Juergen Gross --- hw/usb/xen-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c index 0fd34c6..7bed0ce 100644 --- a/hw/usb/xen-usb.c +++ b/hw/usb/xen-usb.c @@ -253,7 +253,8 @@ static int usbback_init_packet(struct usbback_req *usbback_req) case USBIF_PIPE_TYPE_CTRL: packet->parameter = *(uint64_t *)usbback_req->req.u.ctrl; - TR_REQ(xendev, "ctrl parameter: %lx, buflen: %x\n", packet->parameter, + TR_REQ(xendev, "ctrl parameter: %"PRIx64", buflen: %x\n", + packet->parameter, usbback_req->req.buffer_length); break;