]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Wed, 30 Nov 2011 04:11:42 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:56 +0000 (15:13 +1100)
commitdb2f85387abbbe617b30cd31267a9b7f3e0d6bf6
tree03ce280be72a30705608c96eef1638cce71b1021
parent1ef633a03c474e3d499daa3e5dcf770b335dc7ea
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