Re: [dpdk-dev] [PATCH v2] devtools: check %l format specifier

2021-05-21 Thread Thomas Monjalon
21/05/2021 14:01, Ferruh Yigit: > On 5/19/2021 8:24 PM, Thomas Monjalon wrote: > > From: Ferruh Yigit > > > > %lx or %llx tend to be wrong for 32-bit platform > > if used for fixed size variable like uint64_t. > > A checkpatch warning will avoid this common mistake. > > > > Signed-off-by: Ferruh

Re: [dpdk-dev] [PATCH v2] devtools: check %l format specifier

2021-05-21 Thread Ferruh Yigit
On 5/19/2021 8:24 PM, Thomas Monjalon wrote: > From: Ferruh Yigit > > %lx or %llx tend to be wrong for 32-bit platform > if used for fixed size variable like uint64_t. > A checkpatch warning will avoid this common mistake. > > Signed-off-by: Ferruh Yigit > Signed-off-by: Thomas Monjalon > ---

[dpdk-dev] [PATCH v2] devtools: check %l format specifier

2021-05-19 Thread Thomas Monjalon
From: Ferruh Yigit %lx or %llx tend to be wrong for 32-bit platform if used for fixed size variable like uint64_t. A checkpatch warning will avoid this common mistake. Signed-off-by: Ferruh Yigit Signed-off-by: Thomas Monjalon --- v2: proposal to reword the message and comment --- devtools/ch