projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5748be3
)
kthread: correct comments before kthread_queue_work()
author
Tio Zhang
<tiozhang@didiglobal.com>
Tue, 24 Dec 2024 09:53:44 +0000
(17:53 +0800)
committer
Andrew Morton
<akpm@linux-foundation.org>
Sat, 25 Jan 2025 06:47:22 +0000
(22:47 -0800)
s/kthread_worker_create/kthread_create_worker/ to avoid confusion when
reading comments before kthread_queue_work().
Link:
https://lkml.kernel.org/r/20241224095344.GA7587@didi-ThinkCentre-M930t-N000
Signed-off-by: Tio Zhang <tiozhang@didiglobal.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/kthread.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/kthread.c
b/kernel/kthread.c
index a5ac612b160925cd9f8b927c542541c9e6f30c0c..2fd0daa6b3b6878782d2e85e23e09a3e06f508c2 100644
(file)
--- 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.