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

2021-05-21 Thread Thomas Monjalon
21/05/2021 15:33, Ferruh Yigit: > On 5/21/2021 2:30 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 v3] devtools: check %l format specifier

2021-05-21 Thread Ferruh Yigit
On 5/21/2021 2:30 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 Ack.

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

2021-05-21 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 --- v3: more explicit message v2: proposal to reword the message an