Skip to contentSkip to conversation

kthread: Modify mismatched function name

PATCH New Jiapeng Chong 1 participant 1 message Dec 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kthread: Modify mismatched function name

No functional modification involved.

kernel/kthread.c:1072: warning: expecting prototype for kthread_create_worker(). Prototype was for kthread_create_worker_on_node() instead.

---
 kernel/kthread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kthread.c +1 -1
index 83bf73d2355c..5d14ee046c80 100644
@@ -1058,7 +1058,7 @@ __kthread_create_worker_on_node(unsigned int flags, int node,
 }
 
 /**
- * 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).
Signature · 1 line
2.32.0.3.g01195cf9f