]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6e30075742316a1d72b7e8f794f6e0bd44d774e2
tree33526451b4d8503ef8f6afcb6fd529eed0e613d2
parent7bd7e483c27d884c2f59e286e42623abba413f83
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