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-08-02 10:21:13 +10:00
2011-10-27 18:28:37 +02:00
2010-02-23 09:46:20 +10:00
2009-08-27 09:53:47 +10:00
2010-08-10 08:20:20 +10:00
2010-10-19 14:13:33 +10:00
2011-09-21 14:52:41 -07:00
2011-10-20 23:22:01 -07:00
2011-09-21 14:52:41 -07:00
2009-08-19 16:06:49 +10:00
2011-05-16 12:01:43 +10:00
2010-05-18 18:21:33 +10:00
2010-08-04 09:46:06 +10:00
2011-02-23 11:16:40 +10:00
2010-03-15 10:31:43 +10:00
2009-09-20 16:02:58 +05:30
2011-05-09 09:14:45 +10:00
2011-03-31 11:26:23 -03:00
2009-11-05 14:47:07 -08:00
2011-07-15 16:10:55 +01:00
2009-08-19 16:08:51 +10:00
2011-02-07 13:09:42 +10:00
2011-03-24 21:28:46 +10:00
2011-10-31 17:30:54 -07:00
2011-10-05 10:27:31 +01:00
2011-07-22 13:36:44 -07:00
2011-10-20 15:26:39 -07:00
2011-02-07 12:14:18 +10:00
2011-03-31 11:26:23 -03:00
2011-02-25 06:46:07 +10:00
2011-10-27 18:15:10 +02:00
2011-03-31 11:26:23 -03:00
2009-12-04 08:59:28 +10:00
2011-10-10 15:46:55 +01:00