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