]> 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>
Wed, 14 Dec 2011 05:51:56 +0000 (16:51 +1100)
commitd7bbaeb7b16016a8f224def54ee1e4b9d9a1be49
treed6702a88056799472527aafc01aa6f772f268257
parentba9b72ea808451b9545a6b41200f661b74468d0b
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