Joe Perches
b9075fa968
treewide: use __printf not __attribute__((format(printf,...)))
Standardize the style for compiler based printf format verification.
Standardized the location of __printf too.
Done via script and a little typing.
$ grep -rPl --include=*.[ch] -w "__attribute__" * | \
grep -vP "^(tools|scripts|include/linux/compiler-gcc.h)" | \
xargs perl -n -i -e 'local $/; while (<>) { s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf\s*,\s*(.+)\s*,\s*(.+)\s*\)\s*\)\s*\)/__printf($1, $2)/g ; print; }'
[akpm@linux-foundation.org: revert arch bits]
Signed-off-by: Joe Perches <joe@perches.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-10-31 17:30:54 -07:00
..
2011-09-16 08:29:04 +02:00
2011-09-22 11:19:20 +02:00
2011-07-11 14:15:55 +02:00
2011-10-28 14:25:01 -07:00
2011-10-26 23:51:48 +02:00
2011-10-31 17:30:54 -07:00
2011-07-27 17:53:08 -03:00
2011-09-22 11:19:20 +02:00
2011-09-22 11:19:20 +02:00
2011-10-28 14:25:01 -07:00
2011-10-27 17:06:43 +02:00
2011-07-08 10:11:35 +02:00
2011-09-22 11:19:20 +02:00
2010-10-27 15:53:50 +09:00
2011-10-28 14:25:01 -07:00
2011-09-22 11:19:20 +02:00
2011-06-28 16:56:07 +02:00
2011-10-28 14:25:01 -07:00
2010-12-06 16:09:49 +01:00
2011-03-15 08:42:22 +01:00
2011-03-15 08:42:22 +01:00
2011-03-09 20:10:37 +01:00
2011-03-18 15:14:57 +01:00