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-07-26 16:49:46 -07:00
2011-07-26 16:49:48 -07:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-03-23 19:46:22 -07:00
2011-10-31 17:30:54 -07:00
2011-05-25 08:39:37 -07:00
2011-09-08 11:10:55 +02:00
2011-07-22 18:45:33 +02:00
2011-10-31 17:30:44 -07:00
2011-03-17 13:08:27 -03:00
2011-08-19 13:25:34 -04:00
2011-10-26 23:15:28 +02:00
2011-07-22 18:46:26 +02:00
2011-07-25 10:32:42 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-08-17 13:00:20 -07:00
2011-10-31 17:30:48 -07:00
2011-07-12 11:13:07 -05:00
2011-06-15 20:04:00 -07:00
2011-05-26 17:12:36 -07:00
2011-05-25 08:39:43 -07:00
2011-03-31 11:26:23 -03:00
2011-07-25 20:57:14 -07:00
2011-05-25 08:39:20 -07:00
2011-03-22 17:44:09 -07:00
2011-08-26 15:09:58 -07:00
2011-10-24 21:00:34 +02:00
2011-05-20 12:50:29 -07:00