Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kthread: correct comments before kthread_queue_work()

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>

authored by

Tio Zhang and committed by
Andrew Morton
97549ce6 5748be3e

+1 -1
+1 -1
kernel/kthread.c
··· 1015 1015 * @work: kthread_work to queue 1016 1016 * 1017 1017 * Queue @work to work processor @task for async execution. @task 1018 - * must have been created with kthread_worker_create(). Returns %true 1018 + * must have been created with kthread_create_worker(). Returns %true 1019 1019 * if @work was successfully queued, %false if it was already pending. 1020 1020 * 1021 1021 * Reinitialize the work if it needs to be used by another worker.