Commit d8b4bf4e authored by Randy Dunlap's avatar Randy Dunlap Committed by Frederic Weisbecker
Browse files

kthread: modify kernel-doc function name to match code



kthread.c:1073: warning: expecting prototype for kthread_create_worker(). Prototype was for kthread_create_worker_on_node() instead

Fixes: 41f70d8e ("kthread: Unify kthread_create_on_cpu() and kthread_create_worker_on_cpu() automatic format")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
parent 8044c589
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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).