]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Fri, 16 Dec 2011 04:50:16 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:21 +0000 (17:01 +1100)
commit041d0235d828af4e8ee2bccf6e7d8aeba4df45c0
tree47ec0cb6f6e0b4004fdd85081c1d583029184810
parent5c25f4a2c826b2554b4eac449b3493bf534f3fdd
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