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