]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: emit an error on formats with 0x%<decimal>
authorJoe Perches <joe@perches.com>
Wed, 9 Sep 2015 22:37:47 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit6fbf7b027348035e8160cddf67d1d343e236c163
tree33526451b4d8503ef8f6afcb6fd529eed0e613d2
parent1f9b66c0777379893cd7b1229578a81ba3660465
checkpatch: emit an error on formats with 0x%<decimal>

Using 0x%d is wrong.  Emit a message when it happens.

Miscellanea:

Improve the %Lu warning to match formats like %16Lu.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl