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-26 23:15:28 +02:00
2011-10-28 16:42:18 -07:00
2011-10-28 14:25:01 -07:00
2011-10-27 09:11:34 -04:00
2011-10-26 14:52:52 +02:00
2011-10-28 14:25:01 -07:00
2011-10-25 15:44:06 +02:00
2011-10-28 14:25:01 -07:00
2011-10-26 15:43:26 -04:00
2011-10-26 15:43:25 -04:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:49 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-28 10:43:32 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:48 -07:00
2011-10-30 13:47:25 +01:00
2011-10-30 04:43:30 -04:00
2011-10-28 14:25:01 -07:00
2011-10-26 16:17:32 +02:00
2011-10-28 05:54:23 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-30 12:24:05 +02:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:52 -07:00
2011-10-31 17:30:47 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:46 -07:00
2011-10-31 17:30:48 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:47 -07:00
2011-10-26 13:10:39 +10:30
2011-10-31 17:30:54 -07:00
2011-10-29 12:49:40 +02:00
2011-10-31 17:30:45 -07:00
2011-10-28 14:20:44 -07:00
2011-10-29 07:28:36 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-28 05:29:07 -07:00
2011-10-26 17:08:43 +02:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:49 -07:00
2011-10-31 17:30:47 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:44 -07:00
2011-10-31 17:30:54 -07:00
2011-10-26 15:11:09 +02:00
2011-10-31 17:30:47 -07:00