From nobody Mon Feb 9 17:36:07 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549292283382570.8981548072396; Mon, 4 Feb 2019 06:58:03 -0800 (PST) Received: from localhost ([127.0.0.1]:44026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqfh0-0002tx-As for importer@patchew.org; Mon, 04 Feb 2019 09:57:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqfaT-00066I-0i for qemu-devel@nongnu.org; Mon, 04 Feb 2019 09:51:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqfTp-0005ox-M6 for qemu-devel@nongnu.org; Mon, 04 Feb 2019 09:44:14 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqfTn-0005nE-KC for qemu-devel@nongnu.org; Mon, 04 Feb 2019 09:44:11 -0500 Received: by mail-qt1-f195.google.com with SMTP id n32so48629qte.11 for ; Mon, 04 Feb 2019 06:44:10 -0800 (PST) Received: from redhat.com (pool-173-76-246-42.bstnma.fios.verizon.net. [173.76.246.42]) by smtp.gmail.com with ESMTPSA id a2sm10698621qkk.4.2019.02.04.06.44.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Feb 2019 06:44:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=NSrd8WfDu8pR3OAZSfXZmxLBGQ1tldzo10IsAwLNUOc=; b=M2CO4mpfsY3Y5PKasHq1H9Zv11P/5Hj1Ovjo3/c09QVyMoQSCcOPjSVhyCITi5yKdu EGWC/14ZCeaPgbHG1ZktBw8f1nBUeON8h1aGh79Y9moWoBp7+uRCxjDG8PDY7kmvSXB0 xnKI5HPQHX6ATlZU+uoK2Q+YHSD9j3UYDRyHclbKRFoV3/1vbYnfZVVIwlabcqr4tPS+ EPC7tIKnqFXv+Bpy2zbkGwdTm/yMlyCnJ/DP18YdNrEQd8eKLv700jhiMGDI7XTFIsMc 37pL3UWuku7YpOoUlaAUYEQM4TunNcMK4qd39w8zyCMP4GvX978M0pMVzeqaVP21GnQj iT/A== X-Gm-Message-State: AJcUukfEFOrziXazmf2Tju+9NNUPr2E2RPkJ/4OafFJG+yvxLgjs7LNZ hur/Th56Xr4ffuoS48kTL1qGeKMw8J8= X-Google-Smtp-Source: ALg8bN61ykDe3c6UzfkKGqSoUM3yI5MPvn//RVJ65GvRyXPU1zoV9t4BPHwyw1797NTCze7F+Bg/2g== X-Received: by 2002:ac8:18fa:: with SMTP id o55mr51217339qtk.256.1549291449489; Mon, 04 Feb 2019 06:44:09 -0800 (PST) Date: Mon, 4 Feb 2019 09:44:07 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <20190204142638.27021-26-mst@redhat.com> References: <20190204142638.27021-1-mst@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190204142638.27021-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.195 Subject: [Qemu-devel] [PULL 25/25] contrib/libvhost-user: cleanup casts 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: Peter Maydell , Yongji Xie , "Dr. David Alan Gilbert" , Peter Xu , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Now that field types are all properly uint64_t, drop the un-necessary cast. Signed-off-by: Michael S. Tsirkin --- contrib/libvhost-user/libvhost-user.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/libvhost-user/libvhost-user.c b/contrib/libvhost-user/= libvhost-user.c index c28ec84a11..3f14b4138b 100644 --- a/contrib/libvhost-user/libvhost-user.c +++ b/contrib/libvhost-user/libvhost-user.c @@ -790,10 +790,10 @@ vu_set_vring_addr_exec(VuDev *dev, VhostUserMsg *vmsg) DPRINT("vhost_vring_addr:\n"); DPRINT(" index: %d\n", vra->index); DPRINT(" flags: %d\n", vra->flags); - DPRINT(" desc_user_addr: 0x%016" PRIx64 "\n", (uint64_t)vra->desc= _user_addr); - DPRINT(" used_user_addr: 0x%016" PRIx64 "\n", (uint64_t)vra->used= _user_addr); - DPRINT(" avail_user_addr: 0x%016" PRIx64 "\n", (uint64_t)vra->avai= l_user_addr); - DPRINT(" log_guest_addr: 0x%016" PRIx64 "\n", (uint64_t)vra->log_= guest_addr); + DPRINT(" desc_user_addr: 0x%016" PRIx64 "\n", vra->desc_user_addr= ); + DPRINT(" used_user_addr: 0x%016" PRIx64 "\n", vra->used_user_addr= ); + DPRINT(" avail_user_addr: 0x%016" PRIx64 "\n", vra->avail_user_add= r); + DPRINT(" log_guest_addr: 0x%016" PRIx64 "\n", vra->log_guest_addr= ); =20 vq->vring.flags =3D vra->flags; vq->vring.desc =3D qva_to_va(dev, vra->desc_user_addr); --=20 MST