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-03-10 08:52:07 +01:00
2007-05-07 12:12:51 -07:00
2011-03-31 11:26:23 -03:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:19 -07:00
2011-03-31 11:26:23 -03:00
2011-10-31 17:30:54 -07:00
2011-07-20 20:47:59 -04:00
2011-07-20 20:47:59 -04:00
2010-03-30 22:02:32 +09:00
2006-10-01 00:39:19 -07:00
2011-07-20 20:47:46 -04:00
2011-07-26 16:49:47 -07:00
2009-01-22 13:15:55 +03:00
2011-03-31 11:26:23 -03:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:19 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-17 14:02:57 +01:00
2009-09-22 07:17:38 -07:00
2011-03-31 11:26:23 -03:00
2006-10-01 00:39:19 -07:00
2010-03-30 22:02:32 +09:00
2007-10-22 08:13:21 -07:00
2006-10-01 00:39:19 -07:00
2006-10-01 00:39:19 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-11-18 08:37:40 -08:00
2007-10-19 23:21:04 +02:00
2006-10-01 00:39:19 -07:00
2006-12-07 08:39:23 -08:00
2008-05-24 09:56:08 -07:00
2006-10-01 00:39:19 -07:00
2009-04-01 08:59:18 -07:00