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-31 17:30:54 -07:00
2011-09-14 13:56:25 -04:00
2011-07-08 11:11:21 -04:00
2011-07-07 15:18:01 +02:00
2011-09-20 14:11:55 -04:00
2011-08-29 15:33:02 -04:00
2011-08-29 15:33:02 -04:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-10-03 15:22:41 -04:00
2011-07-25 13:56:39 -07:00
2011-07-08 11:11:25 -04:00
2011-07-07 15:18:01 +02:00
2011-07-25 13:56:39 -07:00
2011-08-22 14:45:59 -04:00
2011-08-22 14:45:59 -04:00
2011-07-25 13:56:39 -07:00
2011-03-31 11:26:23 -03:00
2011-09-14 13:56:25 -04:00
2011-08-26 10:47:57 -04:00
2011-09-27 14:34:02 -04:00
2011-09-19 16:10:14 -04:00
2011-07-25 13:56:39 -07:00
2011-09-14 13:56:30 -04:00
2011-09-14 13:56:30 -04:00
2011-08-26 10:47:57 -04:00
2011-09-14 13:56:25 -04:00
2011-06-22 16:09:43 -04:00
2011-09-14 13:56:25 -04:00
2011-09-14 13:56:24 -04:00
2011-09-14 13:56:25 -04:00
2011-06-29 15:11:01 -04:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-07-25 13:56:39 -07:00
2011-09-14 13:56:25 -04:00
2011-06-22 16:09:43 -04:00
2011-09-14 13:56:25 -04:00
2011-08-23 16:14:19 -04:00
2011-09-27 14:34:02 -04:00
2011-09-14 13:56:26 -04:00
2011-07-07 15:18:01 +02:00
2011-07-25 13:56:39 -07:00
2011-10-14 14:48:20 -04:00
2011-10-14 14:48:20 -04:00