* [PATCH 1/1] kthread: correct comments before kthread_queue_work()
@ 2024-12-24 9:53 Tio Zhang
0 siblings, 0 replies; only message in thread
From: Tio Zhang @ 2024-12-24 9:53 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
s/kthread_worker_create/kthread_create_worker/ to avoid
confusion when reading comments before kthread_queue_work().
Signed-off-by: Tio Zhang <tiozhang@didiglobal.com>
---
kernel/kthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kthread.c b/kernel/kthread.c
index a5ac612b1609..2fd0daa6b3b6 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -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.
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-12-24 9:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-24 9:53 [PATCH 1/1] kthread: correct comments before kthread_queue_work() Tio Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®