Files
kernel_arpi/include/linux
Tejun Heo b196be89cd workqueue: make alloc_workqueue() take printf fmt and args for name
alloc_workqueue() currently expects the passed in @name pointer to remain
accessible.  This is inconvenient and a bit silly given that the whole wq
is being dynamically allocated.  This patch updates alloc_workqueue() and
friends to take printf format string instead of opaque string and matching
varargs at the end.  The name is allocated together with the wq and
formatted.

alloc_ordered_workqueue() is converted to a macro to unify varargs
handling with alloc_workqueue(), and, while at it, add comment to
alloc_workqueue().

None of the current in-kernel users pass in string with '%' as constant
name and this change shouldn't cause any problem.

[akpm@linux-foundation.org: use __printf]
Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-10 16:30:54 -08:00
..
2011-12-11 18:25:16 -05:00
2011-12-13 15:30:49 -05:00
2012-01-04 15:52:42 -08:00
2012-01-03 22:55:17 -05:00
2011-11-16 09:21:50 +01:00
2012-01-10 16:30:42 -08:00
2012-01-03 22:54:57 -05:00
2012-01-09 19:23:45 -05:00
2011-11-26 14:59:39 -05:00
2011-12-11 18:25:16 -05:00
2012-01-03 22:54:58 -05:00
2012-01-03 22:54:56 -05:00
2011-11-16 18:16:38 -05:00
2012-01-03 22:55:17 -05:00
2011-12-11 18:25:16 -05:00
2012-01-09 13:52:09 +01:00
2012-01-10 16:30:42 -08:00
2011-12-14 11:19:07 -08:00
2012-01-03 22:55:15 -05:00
2011-11-14 00:47:54 -05:00
2012-01-10 16:30:41 -08:00
2012-01-05 14:01:21 -05:00
2012-01-03 22:55:07 -05:00
2012-01-03 22:54:56 -05:00
2012-01-03 22:52:40 -05:00
2011-11-29 11:59:50 +00:00
2012-01-03 22:54:56 -05:00