Commit 20ce0c2d authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Linus Torvalds

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

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

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

Link: https://lkml.kernel.org/r/20210513161702.1721039-1-j.neuschaefer@gmx.netSigned-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ff4b2b40
...@@ -18,7 +18,7 @@ struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), ...@@ -18,7 +18,7 @@ struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
* @threadfn: the function to run in the thread * @threadfn: the function to run in the thread
* @data: data pointer for @threadfn() * @data: data pointer for @threadfn()
* @namefmt: printf-style format string for the thread name * @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 * 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(); * the stopped state. This is just a helper for kthread_create_on_node();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment