]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Thu, 8 Dec 2011 04:42:20 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:52:43 +0000 (15:52 +1100)
commit1cb71e7302a60890c7ae3ef9c2bc3e726d9c530c
tree4a78a6393a48780f969372cc7d7fe7dbb7b69886
parentaee07dd29e387a8e737e4247caabe17fba5efa0e
checkpatch: prefer __printf over __attribute__((format(printf,...)))

Add a warn for not using __printf.

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