Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-13 Thread Shreyansh Jain
On Friday 13 April 2018 02:13 PM, gowrishankar muthukrishnan wrote: On Friday 13 April 2018 02:26 PM, Shreyansh Jain wrote: On Friday 13 April 2018 01:11 PM, Thomas Monjalon wrote: 13/04/2018 07:04, Gowrishankar: -    DPAA2_BUS_DEBUG("--> Map address: %llX, size: 0x%llX", +    DPAA2_BUS_DEBUG(

Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-13 Thread gowrishankar muthukrishnan
On Friday 13 April 2018 02:26 PM, Shreyansh Jain wrote: On Friday 13 April 2018 01:11 PM, Thomas Monjalon wrote: 13/04/2018 07:04, Gowrishankar: -    DPAA2_BUS_DEBUG("--> Map address: %llX, size: 0x%llX", +    DPAA2_BUS_DEBUG("--> Map address: %"PRIu64", size: 0x%"PRIu64"", You cannot replace

Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-13 Thread Shreyansh Jain
On Friday 13 April 2018 01:11 PM, Thomas Monjalon wrote: 13/04/2018 07:04, Gowrishankar: - DPAA2_BUS_DEBUG("--> Map address: %llX, size: 0x%llX", + DPAA2_BUS_DEBUG("--> Map address: %"PRIu64", size: 0x%"PRIu64"", You cannot replace hexadecimal by decimal. You need to use PRIx64.

Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-13 Thread Thomas Monjalon
13/04/2018 07:04, Gowrishankar: > - DPAA2_BUS_DEBUG("--> Map address: %llX, size: 0x%llX", > + DPAA2_BUS_DEBUG("--> Map address: %"PRIu64", size: 0x%"PRIu64"", You cannot replace hexadecimal by decimal. You need to use PRIx64.

Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-13 Thread Hemant Agrawal
Hi Gowrishankar, On 4/13/2018 10:34 AM, Gowrishankar wrote: From: Gowrishankar Muthukrishnan Instead of llX, use C99 standard "PRIu64" in format specifier. Former one breaks compile in ppc64le. Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO") Signed-off-by: Gowrishank

Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-13 Thread Hemant Agrawal
On 4/13/2018 12:40 PM, Shreyansh Jain wrote: On Friday 13 April 2018 10:34 AM, Gowrishankar wrote: From: Gowrishankar Muthukrishnan Instead of llX, use C99 standard "PRIu64" in format specifier. Former one breaks compile in ppc64le. Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbac

Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-12 Thread Shreyansh Jain
On Friday 13 April 2018 10:34 AM, Gowrishankar wrote: From: Gowrishankar Muthukrishnan Instead of llX, use C99 standard "PRIu64" in format specifier. Former one breaks compile in ppc64le. Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO") Signed-off-by: Gowrishankar Muth

[dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier

2018-04-12 Thread Gowrishankar
From: Gowrishankar Muthukrishnan Instead of llX, use C99 standard "PRIu64" in format specifier. Former one breaks compile in ppc64le. Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO") Signed-off-by: Gowrishankar Muthukrishnan -- In file included from dpdk/drivers/bus/fsl