devtools: check %l format specifier
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 May 2021 19:24:49 +0000 (21:24 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 May 2021 13:41:54 +0000 (15:41 +0200)
commitd991d879f985c55cccd42aa8a383b7bbb72d0344
treecdb4c78f0ad62568a0b9bae1087b48f38466df5f
parentfcc5489c18e698b83e7f35805c5af2fe47813190
devtools: check %l format specifier

%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 <ferruh.yigit@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
devtools/checkpatches.sh