summaryrefslogtreecommitdiff
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2025-01-10 22:30:08 -0800
committerFrederic Weisbecker <frederic@kernel.org>2025-01-13 11:33:26 +0100
commitd8b4bf4ea04dd96fe43f6010c614149aba4c9b91 (patch)
treefa5bcd0d2c0676bc89be810d988cc4b3918cf685 /kernel/kthread.c
parent8044c589767456af2061ca03468aa6a295da1925 (diff)
kthread: modify kernel-doc function name to match code
kthread.c:1073: warning: expecting prototype for kthread_create_worker(). Prototype was for kthread_create_worker_on_node() instead Fixes: 41f70d8e1634 ("kthread: Unify kthread_create_on_cpu() and kthread_create_worker_on_cpu() automatic format") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Frederic Weisbecker <frederic@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'kernel/kthread.c')
-rw-r--r--kernel/kthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 922f15762ec3..de9dad03885b 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -1058,7 +1058,7 @@ fail_task:
}
/**
- * kthread_create_worker - create a kthread worker
+ * kthread_create_worker_on_node - create a kthread worker
* @flags: flags modifying the default behavior of the worker
* @node: task structure for the thread is allocated on this node
* @namefmt: printf-style name for the kthread worker (task).