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 09:19:36 +02:00
2011-09-29 09:56:52 -04:00
2011-07-11 13:19:33 -04:00
2009-03-30 09:26:49 -07:00
2007-07-18 08:47:42 -07:00
2011-02-14 14:16:17 -05:00
2011-02-14 14:16:17 -05:00
2011-09-29 10:32:58 -04:00
2011-10-31 17:30:54 -07:00
2010-07-22 16:45:59 -07:00
2010-10-20 16:22:29 -07:00
2011-09-29 11:12:10 -04:00
2010-08-23 12:01:35 +01:00
2010-11-16 10:57:05 -08:00
2010-07-27 11:51:00 -04:00
2011-07-08 12:26:21 -06:00
2011-02-25 16:43:12 +00:00
2009-11-04 08:47:24 -08:00
2011-10-31 17:30:54 -07:00
2008-04-24 23:57:32 +02:00