Skip to contentSkip to conversation

kthread: correct comments before kthread_queue_work()

PATCH Applied Tio Zhang 1 participant 1 message Dec 24, 2024

lore
Share & tools
lore

Tio Zhang

author
#0 lore raw

PATCH 1/1 kthread: correct comments before kthread_queue_work()

s/kthread_worker_create/kthread_create_worker/ to avoid confusion when reading comments before kthread_queue_work().

---
 kernel/kthread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/kthread.c +1 -1
index a5ac612b1609..2fd0daa6b3b6 100644
@@ -1015,7 +1015,7 @@ static void kthread_insert_work(struct kthread_worker *worker,
  * @work: kthread_work to queue
  *
  * Queue @work to work processor @task for async execution.  @task
- * must have been created with kthread_worker_create().  Returns %true
+ * must have been created with kthread_create_worker().  Returns %true
  * if @work was successfully queued, %false if it was already pending.
  *
  * Reinitialize the work if it needs to be used by another worker.
Signature · 1 line
2.17.1