linux-next: build warning after merge of the workqueues tree
Subsystems (2)
Hi all,
After merging the workqueues tree, today's linux-next build (htmldocs) produced this warning:
include/linux/workqueue.h:547: warning: Excess function parameter '...' description in 'alloc_ordered_workqueue_lockdep_map'
Presumably introduced by commit
9b59a85a84dc ("workqueue: Don't call va_start / va_end twice")
Signature · 2 lines
Cheers, Stephen Rothwell
Tejun Heo
maintainerPATCH 1/1 workqueue: Fix another htmldocs build warning
From d156263e247c334a8872578118e0709ed63c4806 Mon Sep 17 00:00:00 2001
From: Tejun Heo <[email protected]>
Date: Wed, 21 Aug 2024 06:37:39 -1000
Fix htmldocs build warning introduced by 9b59a85a84dc ("workqueue: Don't call va_start / va_end twice").
--- include/linux/workqueue.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
include/linux/workqueue.h +3 -2
@@ -534,7 +534,7 @@ alloc_workqueue_lockdep_map(const char *fmt, unsigned int flags, int max_active,* @fmt: printf format for the name of the workqueue * @flags: WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful) * @lockdep_map: user-defined lockdep_map -* @...: args for @fmt +* @args: args for @fmt * * Same as alloc_ordered_workqueue but with the a user-define lockdep_map. * Useful for workqueues created with the same purpose and to avoid leaking a
@@ -544,7 +544,8 @@ alloc_workqueue_lockdep_map(const char *fmt, unsigned int flags, int max_active,* Pointer to the allocated workqueue on success, %NULL on failure. */ #define alloc_ordered_workqueue_lockdep_map(fmt, flags, lockdep_map, args...) \ - alloc_workqueue_lockdep_map(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, lockdep_map, ##args) + alloc_workqueue_lockdep_map(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), \ + 1, lockdep_map, ##args)#endif /**
Signature · 1 line
2.46.0
Re: [PATCH wq/for-6.12] workqueue: Fix another htmldocs build warning
Quoted 10 lines · Tejun Heo
From
d156263e247c334a8872578118e0709ed63c4806Mon Sep 17 00:00:00 2001
From: Tejun Heo <[email protected]>
Date: Wed, 21 Aug 2024 06:37:39 -1000Fix htmldocs build warning introduced by
9b59a85a84dc("workqueue: Don't callva_start/va_endtwice").Signed-off-by Tejun Heo <[email protected]>Reported-by Stephen Rothwell <[email protected]>Cc Matthew Brost <[email protected]>
Quoted 30 lines
--- include/linux/workqueue.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)include/linux/workqueue.h +3
-2@@ -534,7 +534,7 @@ alloc_workqueue_lockdep_map(const char *fmt, unsigned int flags, int max_active,* @fmt: printf format for the name of the workqueue * @flags: WQ_* flags (only WQ_FREEZABLE and WQ_MEM_RECLAIM are meaningful) * @lockdep_map: user-defined lockdep_map -* @...: args for @fmt +* @args: args for @fmt * * Same as alloc_ordered_workqueue but with the a user-define lockdep_map. * Useful for workqueues created with the same purpose and to avoid leaking a @@ -544,7 +544,8 @@ alloc_workqueue_lockdep_map(const char *fmt, unsigned int flags, int max_active,* Pointer to the allocated workqueue on success, %NULL on failure. */ #define alloc_ordered_workqueue_lockdep_map(fmt, flags, lockdep_map, args...) \ - alloc_workqueue_lockdep_map(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, lockdep_map, ##args) + alloc_workqueue_lockdep_map(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), \ + 1, lockdep_map, ##args)#endif /** Signature · 1 line
2.46.0