Skip to contentSkip to conversation

workqueue: fix texinfodocs warning for WQ_* flags reference

PATCH Applied Kriish Sharma 2 participants 2 messages Sep 22, 2025 Workqueue

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 workqueue: fix texinfodocs warning for WQ_* flags reference

Sphinx emitted a warning during make texinfodocs:

WARNING: Inline literal start-string without end-string.

This was caused by the trailing '*' in "%WQ_*" being parsed as reStructuredText markup in the kernel-doc comment.

Escape the '*' in the comment so that Sphinx treats it as a literal character, resolving the warning.

---
 include/linux/workqueue.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/workqueue.h +1 -1
index 158784dd189a..60f0c7d30337 100644
@@ -490,7 +490,7 @@ void workqueue_softirq_dead(unsigned int cpu);
  * min_active which is set to min(@max_active, %WQ_DFL_MIN_ACTIVE). This means
  * that the sum of per-node max_active's may be larger than @max_active.
  *
- * For detailed information on %WQ_* flags, please refer to
+ * For detailed information on %WQ_\* flags, please refer to
  * Documentation/core-api/workqueue.rst.
  *
  * RETURNS:
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Kriish Sharma

Sphinx emitted a warning during make texinfodocs:

WARNING: Inline literal start-string without end-string.

This was caused by the trailing '*' in "%WQ_*" being parsed as reStructuredText markup in the kernel-doc comment.

Escape the '*' in the comment so that Sphinx treats it as a literal character, resolving the warning.

Applied to wq/for-6.18.

Thanks.

Signature · 1 line
tejun