]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Wed, 16 Nov 2011 23:41:35 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 17 Nov 2011 02:57:15 +0000 (13:57 +1100)
commitd4729e5c6a01dd5acc6beca86d1364c9099725ae
treecb089486bcdfee7f3b97c188ce7f072657cc9b41
parent3555fb4efa878609ba57e80cd13f61f122f6c0a4
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