Skip to contentSkip to conversation

kthread: Switch to new kerneldoc syntax for named variable macro argument

PATCH Superseded Jonathan Neuschäfer 1 participant 1 message Mar 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kthread: Switch to new kerneldoc syntax for named variable macro argument

The syntax without dots is available since commit 43756e347f21 ("scripts/kernel-doc: Add support for named variable macro arguments").

The same HTML output is produced with and without this patch.

---
 include/linux/kthread.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/kthread.h +1 -1
index 2484ed97e72f5..db3eafea168ff 100644
@@ -18,7 +18,7 @@ struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
  * @threadfn: the function to run in the thread
  * @data: data pointer for @threadfn()
  * @namefmt: printf-style format string for the thread name
- * @arg...: arguments for @namefmt.
+ * @arg: arguments for @namefmt.
  *
  * This macro will create a kthread on the current node, leaving it in
  * the stopped state.  This is just a helper for kthread_create_on_node();

--
2.30.1