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-05-10 22:53:45 +02:00
2011-03-15 08:42:30 +01:00
2011-10-31 17:30:54 -07:00
2011-03-15 08:42:22 +01:00
2011-03-16 07:47:33 +01:00
2011-03-15 08:42:22 +01:00
2011-08-15 13:35:13 +02:00
2011-05-23 08:52:38 -07:00
2011-05-10 22:53:44 +02:00
2011-05-11 14:53:09 +02:00
2011-03-15 08:42:22 +01:00
2011-03-15 08:42:22 +01:00
2011-05-11 14:51:05 +02:00
2011-05-11 14:51:05 +02:00
2011-03-15 08:42:22 +01:00
2011-10-04 07:16:31 +02:00