From: Andrew Morton Date: Fri, 16 Dec 2011 04:50:43 +0000 (+1100) Subject: workqueue-make-alloc_workqueue-take-printf-fmt-and-args-for-name-fix X-Git-Tag: next-20111219~1^2~26 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d950a3ad27cbe7365cd017a20c063f3ad693f2ec;p=karo-tx-linux.git workqueue-make-alloc_workqueue-take-printf-fmt-and-args-for-name-fix use __printf Cc: Tejun Heo Signed-off-by: Andrew Morton --- diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index c87e86b297f4..eb8b9f15f2e0 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -298,8 +298,7 @@ extern struct workqueue_struct *system_freezable_wq; extern struct workqueue_struct * __alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active, - struct lock_class_key *key, const char *lock_name, ...) - __attribute__((format (printf, 1, 6))); + struct lock_class_key *key, const char *lock_name, ...) __printf(1, 6); /** * alloc_workqueue - allocate a workqueue