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
..
2010-09-08 18:16:50 -07:00
2011-06-17 00:03:03 -04:00
2011-03-23 19:46:16 -07:00
2010-10-21 04:26:39 -07:00
2011-09-15 13:59:25 +02:00
2011-09-15 15:36:32 -04:00
2010-09-08 18:16:50 -07:00
2009-04-09 17:21:14 -07:00
2011-06-17 00:03:03 -04:00
2010-09-08 18:12:20 -07:00
2010-10-21 04:26:39 -07:00
2011-05-25 13:46:23 -07:00
2011-06-06 22:55:11 -07:00
2010-09-08 18:11:32 -07:00
2009-02-26 23:39:25 -08:00
2011-06-17 00:03:03 -04:00
2011-09-29 14:57:19 -04:00
2010-09-08 18:16:39 -07:00
2009-04-09 17:21:14 -07:00
2011-06-17 00:03:03 -04:00
2009-09-15 09:39:44 -07:00
2010-10-21 04:26:39 -07:00
2011-05-25 13:46:23 -07:00
2011-06-06 22:55:11 -07:00
2011-09-15 15:36:32 -04:00
2011-03-08 11:22:43 -08:00
2009-02-26 23:39:26 -08:00
2010-11-22 08:16:15 -08:00
2010-11-08 12:17:09 -08:00
2011-07-25 20:57:14 -07:00
2011-05-25 13:46:23 -07:00
2010-10-21 04:26:39 -07:00
2010-11-17 12:20:52 -08:00
2011-10-31 17:30:54 -07:00
2010-10-21 04:26:39 -07:00
2011-06-17 00:03:03 -04:00
2010-09-08 18:16:39 -07:00
2010-09-08 18:16:39 -07:00
2010-09-27 01:03:03 -07:00
2010-09-27 01:03:03 -07:00
2010-10-21 04:26:39 -07:00
2010-10-21 04:26:39 -07:00
2011-07-01 16:16:19 -07:00
2010-11-03 18:50:07 -07:00
2010-10-21 04:26:39 -07:00
2010-09-08 18:16:39 -07:00
2010-09-08 18:16:47 -07:00