]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Fri, 2 Dec 2011 03:12:41 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Dec 2011 04:05:32 +0000 (15:05 +1100)
commitf9dfac079e4eb4e3ef3591bd3763501a39c35b15
tree699a1af85ab7081184dd29b6276755355ab684bc
parent3894c9ad2416a03e3b701352693138866be29de7
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