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-10-25 15:44:06 +02:00
2011-07-27 13:23:02 -07:00
2011-10-18 09:13:32 -07:00
2010-09-29 12:27:37 -04:00
2010-08-04 08:54:09 -04:00
2010-08-04 08:54:09 -04:00
2011-06-05 14:33:39 -07:00
2011-07-15 09:12:23 -04:00
2011-07-15 09:12:23 -04:00
2011-01-04 16:49:25 -05:00
2011-10-19 13:58:30 -07:00
2011-07-15 09:12:23 -04:00
2011-07-15 09:12:23 -04:00
2010-09-27 10:16:12 -04:00
2011-10-25 15:44:06 +02:00
2011-10-18 09:13:32 -07:00
2011-07-17 18:11:34 -04:00
2010-03-30 22:02:32 +09:00
2010-11-16 11:58:51 -05:00
2010-09-27 10:16:12 -04:00
2009-09-11 15:04:16 -04:00
2011-09-14 08:21:48 -04:00
2011-10-31 17:30:54 -07:00
2011-07-15 18:58:44 -04:00
2010-12-17 15:48:21 -05:00
2011-09-14 08:21:48 -04:00
2009-11-18 08:37:40 -08:00
2009-08-09 15:09:47 -04:00
2011-07-15 09:12:23 -04:00
2011-07-28 18:20:21 -07:00
2011-07-17 18:11:30 -04:00