From: Thomas Monjalon <thomas@monjalon.net>
To: Hemant Agrawal <hemant.agrawal@nxp.com>
Cc: dev@dpdk.org, ferruh.yigit@intel.com
Subject: Re: [dpdk-dev] [PATCH 3/3] bus/fslmc: fix the compliation err with ppc64 compiler
Date: Mon, 22 Jul 2019 10:16:14 +0200 [thread overview]
Message-ID: <2007110.ODlhGgROtN@xps> (raw)
In-Reply-To: <20190722065407.9180-3-hemant.agrawal@nxp.com>
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",
>
> format ‘%llx’ expects argument of type ‘long long unsigned int’
> argument 6 has type ‘__u64 {aka long unsigned int}’
>
> Fixes: 2b5fa25708cf ("mempool/dpaa2: map external memory with VFIO")
>
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> ---
> --- 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 ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__u64’
I don't understand what happens. Where is the '%lx'?
next prev parent reply other threads:[~2019-07-22 8:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-22 6:54 [dpdk-dev] [PATCH 1/3] bus/dpaa: fix to remove err print for non-dpaa devices Hemant Agrawal
2019-07-22 6:54 ` [dpdk-dev] [PATCH 2/3] bus/fslmc: fix to remove err print for non-fslmc devices Hemant Agrawal
2019-07-22 6:54 ` [dpdk-dev] [PATCH 3/3] bus/fslmc: fix the compliation err with ppc64 compiler Hemant Agrawal
2019-07-22 8:16 ` Thomas Monjalon [this message]
2019-07-22 10:03 ` [dpdk-dev] [PATCH v2 1/3] bus/dpaa: fix to remove err print for non-dpaa devices Hemant Agrawal
2019-07-22 10:03 ` [dpdk-dev] [PATCH v2 2/3] bus/fslmc: fix to remove err print for non-fslmc devices Hemant Agrawal
2019-07-22 10:03 ` [dpdk-dev] [PATCH v2 3/3] bus/fslmc: fix the compliation err with ppc64 compiler Hemant Agrawal
2019-07-22 14:14 ` [dpdk-dev] [PATCH v2 1/3] bus/dpaa: fix to remove err print for non-dpaa devices Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2007110.ODlhGgROtN@xps \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=hemant.agrawal@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).