author: Linus Torvalds <torvalds@linux-foundation.org> 2021-10-11 16:59:49 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-10-11 16:59:49 -0700
commit: 0a5d6c641b671370f019cbe20fe51ee3ef00264c
parent: 1986c10acc9c906e453fb19d86e6342e8e525824
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 3 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 2ebef6b1a3d6..74d3c1efd9bb 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -399,9 +399,8 @@ extern struct workqueue_struct *system_freezable_power_efficient_wq;
* RETURNS:
* Pointer to the allocated workqueue on success, %NULL on failure.
*/
-struct workqueue_struct *alloc_workqueue(const char *fmt,
- unsigned int flags,
- int max_active, ...);
+__printf(1, 4) struct workqueue_struct *
+alloc_workqueue(const char *fmt, unsigned int flags, int max_active, ...);
/**
* alloc_ordered_workqueue - allocate an ordered workqueue