Skip to contentSkip to conversation

kthread: modify kernel-doc function name to match code

PATCH Applied Randy Dunlap 1 participant 1 message Jan 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 b1e125dcbcea ("kthread: Unify kthread_create_on_cpu() and kthread_create_worker_on_cpu() automatic format")
Cc Frederic Weisbecker <[email protected]>
Cc Andrew Morton <[email protected]>
---
 kernel/kthread.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kthread.c +1 -1
@@ -1059,7 +1059,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).