]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: prefer __printf over __attribute__((format(printf,...)))
authorJoe Perches <joe@perches.com>
Thu, 8 Dec 2011 04:42:20 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:19:04 +0000 (15:19 +1100)
commiteda50d51600ef076b52631f25efad428278c5e1e
tree5c6372d8fe0995e6120deaa7493b03fdbdec465d
parentcca82fb3ee7e99c77029e5b1bf8f773707d1ad82
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