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-08-01 02:10:06 -04:00
2011-07-25 14:30:23 -04:00
2011-06-28 10:01:31 -04:00
2011-06-27 19:40:50 -04:00
2011-01-10 12:10:55 -05:00
2011-06-06 00:06:52 -04:00
2011-05-09 10:58:45 -04:00
2011-08-13 11:25:18 -04:00
2011-10-31 17:30:54 -07:00
2011-07-27 22:11:20 -04:00
2011-10-28 14:58:59 +02:00
2011-08-01 13:56:03 -10:00
2011-08-01 06:32:19 -04:00
2011-08-19 19:13:32 -04:00
2011-10-31 17:30:46 -07:00
2011-07-26 21:35:44 -04:00
2011-06-27 19:40:50 -04:00
2011-08-01 17:41:46 -04:00
2011-07-23 16:18:55 -04:00
2011-05-03 09:34:42 -04:00
2011-05-24 18:31:25 -04:00
2011-06-06 00:05:17 -04:00
2011-08-23 14:50:29 +02:00
2011-08-31 11:50:51 -04:00
2011-08-01 08:45:38 -04:00
2011-08-13 12:17:13 -04:00
2011-06-27 19:16:04 -04:00
2011-07-18 12:29:38 -04:00
2011-05-25 07:41:26 -04:00
2011-02-01 11:12:29 -05:00