checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Tue, 10 Jan 2012 23:09:52 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:50 +0000 (16:30 -0800)
commit5f14d3bd87ef5f979ea64c1f0862534d71786db7
tree88982b950031e877156bf17c3755d9a128b336f8
parent270c49a088ae58d4b817861bb04bfec63b0966db
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl