aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2025-01-11 06:30:08 +0000
committerFrederic Weisbecker <[email protected]>2025-01-13 10:33:26 +0000
commitd8b4bf4ea04dd96fe43f6010c614149aba4c9b91 (patch)
treefa5bcd0d2c0676bc89be810d988cc4b3918cf685
parentrcu: Use kthread preferred affinity for RCU exp kworkers (diff)
downloadkernel-d8b4bf4ea04dd96fe43f6010c614149aba4c9b91.tar.gz
kernel-d8b4bf4ea04dd96fe43f6010c614149aba4c9b91.zip
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 <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
-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).