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-28 14:20:44 -07:00
2011-10-28 16:44:18 -07:00
2011-10-25 13:25:22 +02:00
2011-10-25 15:18:39 +02:00
2011-10-28 16:42:18 -07:00
2011-10-25 15:18:39 +02:00
2011-10-28 05:54:23 -07:00
2011-10-26 17:15:03 +02:00
2011-10-26 17:15:03 +02:00
2011-10-29 07:27:45 -07:00
2011-10-28 05:54:23 -07:00
2011-10-26 21:46:20 -07:00
2011-10-31 17:30:51 -07:00
2011-10-30 13:47:25 +01:00
2011-10-27 08:39:10 +02:00
2011-10-31 17:30:46 -07:00
2011-10-28 14:25:01 -07:00
2011-10-30 15:46:19 -07:00
2011-10-31 17:30:54 -07:00
2011-10-28 05:04:26 -07:00
2011-10-27 10:56:18 +10:30
2011-10-31 15:21:29 -07:00
2011-10-30 15:46:19 -07:00
2011-10-28 14:25:01 -07:00
2011-10-31 17:30:53 -07:00
2011-10-28 14:16:11 -07:00
2011-10-27 08:39:10 +02:00
2011-10-31 17:30:54 -07:00
2011-10-25 06:55:52 +02:00
2011-10-28 14:20:44 -07:00
2011-10-27 08:39:10 +02:00
2011-10-25 10:43:57 +02:00
2011-10-31 17:30:52 -07:00
2011-10-28 16:44:18 -07:00
2011-10-28 16:44:18 -07:00
2011-10-29 07:28:36 -07:00
2011-10-31 17:30:54 -07:00
2011-10-25 12:11:02 +02:00
2011-10-29 07:28:36 -07:00
2011-10-28 12:02:27 -07:00
2011-10-30 15:30:01 -07:00
2011-10-24 02:07:21 -04:00
2011-10-26 17:03:38 +02:00
2011-10-26 16:44:09 +02:00
2011-10-24 21:00:34 +02:00
2011-10-26 15:39:02 +02:00
2011-10-26 15:39:02 +02:00