Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Link: https://lkml.kernel.org/r/20210513161702.1721039-1-j.neuschaefer@gmx.net
Signed-off-by: Jonathan 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jonathan Neuschäfer and committed by
Linus Torvalds
20ce0c2d ff4b2b40

+1 -1
+1 -1
include/linux/kthread.h
··· 18 18 * @threadfn: the function to run in the thread 19 19 * @data: data pointer for @threadfn() 20 20 * @namefmt: printf-style format string for the thread name 21 - * @arg...: arguments for @namefmt. 21 + * @arg: arguments for @namefmt. 22 22 * 23 23 * This macro will create a kthread on the current node, leaving it in 24 24 * the stopped state. This is just a helper for kthread_create_on_node();