From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8A49EA046B for ; Mon, 22 Jul 2019 10:16:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8ACFF1B9AD; Mon, 22 Jul 2019 10:16:21 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id DB3C91B9AC for ; Mon, 22 Jul 2019 10:16:19 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6D40C21B6A; Mon, 22 Jul 2019 04:16:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Jul 2019 04:16:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=wkcKnz84z0gDzaD/STvVTqJ6i89teF/YVRU7g59qzbY=; b=fqPX2Ux5scNB MS/uPGNmEx0Qly5/U6vjxp3HBvJUiwpQQsjoxJoIy2RifVFU6VsrzTjScVTWff1k BFQjyitcFvBUxKL6n2KAvsz6u0yKuLyUzt+tzTrbz90H0sR2MIg2TYbmQHzwtRGO Q9m6xj6ibfgzEZmZbZwD2HoHxBX61Kw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=wkcKnz84z0gDzaD/STvVTqJ6i89teF/YVRU7g59qz bY=; b=idKktnGW/y7Bos/QffkMpeitErdLRjG1OxBBVl9QwujQ7fSN90ZXfcizu aH+PaIiqqpM1Bh72K4kNK78dHt5PX3W/+Qb55+nFI0mw3LhOqvugRFpb75/bC7if 0BVcsgSGN5d0i9NNcH8x+Bcx5edy+p1BZzIW/T9pIShOFqu9B/L1ZkKNvvwZawdt JVulFo9Zbql3kTr8GsM+kD2ylueOot9iJWPpw+V7CnRzDmWs82HIvEvMM2PMGc/m wc3pZgk2zt5GPm/E2MeRQzckahS7pJvYQ0DktVcsoHzCrHLv/TJr4NhhM3vqMqof e4rdUjUO5vYCGsbtZNh/q15cSJigw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrjeeggddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 620D180060; Mon, 22 Jul 2019 04:16:15 -0400 (EDT) From: Thomas Monjalon To: Hemant Agrawal Cc: dev@dpdk.org, ferruh.yigit@intel.com Date: Mon, 22 Jul 2019 10:16:14 +0200 Message-ID: <2007110.ODlhGgROtN@xps> In-Reply-To: <20190722065407.9180-3-hemant.agrawal@nxp.com> References: <20190722065407.9180-1-hemant.agrawal@nxp.com> <20190722065407.9180-3-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 3/3] bus/fslmc: fix the compliation err with ppc64 compiler X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/07/2019 08:54, Hemant Agrawal: > fslmc_vfio.c:387:36: note: format string is defined here > DPAA2_BUS_DEBUG("VFIO dmamap 0x%llx:0x%llx, size 0x%llx\n", >=20 > format =E2=80=98%llx=E2=80=99 expects argument of type =E2=80=98long long= unsigned int=E2=80=99 > argument 6 has type =E2=80=98__u64 {aka long unsigned int}=E2=80=99 >=20 > Fixes: 2b5fa25708cf ("mempool/dpaa2: map external memory with VFIO") >=20 > Signed-off-by: Hemant Agrawal > --- > --- a/drivers/bus/fslmc/fslmc_vfio.c > +++ b/drivers/bus/fslmc/fslmc_vfio.c > - DPAA2_BUS_DEBUG("VFIO dmamap 0x%llx:0x%llx, size 0x%llx\n", > + DPAA2_BUS_DEBUG("VFIOdmamap 0x%"PRIx64":0x%"PRIx64",size 0x%"PRIx64"\n", > dma_map.vaddr, dma_map.iova, dma_map.size); It gives this error: drivers/bus/fslmc/fslmc_logs.h:18:44: error: format =E2=80=98%lx=E2=80=99 expects argument of type =E2=80=98long unsigne= d int=E2=80=99, but argument 5 has type =E2=80=98__u64=E2=80=99 I don't understand what happens. Where is the '%lx'?