Commit d16977f3 authored by Jonathan Corbet's avatar Jonathan Corbet Committed by Linus Torvalds

kthread: fix documentation build warning

The kerneldoc comment for kthread_create() had an incorrect argument
name, leading to a warning in the docs build.

Correct it, and make one more small step toward a warning-free build.

Link: http://lkml.kernel.org/r/20170724135916.7f486c6f@lwn.netSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e7701557
...@@ -15,7 +15,7 @@ struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), ...@@ -15,7 +15,7 @@ struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
* @threadfn: the function to run in the thread * @threadfn: the function to run in the thread
* @data: data pointer for @threadfn() * @data: data pointer for @threadfn()
* @namefmt: printf-style format string for the thread name * @namefmt: printf-style format string for the thread name
* @...: arguments for @namefmt. * @arg...: arguments for @namefmt.
* *
* This macro will create a kthread on the current node, leaving it in * This macro will create a kthread on the current node, leaving it in
* the stopped state. This is just a helper for kthread_create_on_node(); * the stopped state. This is just a helper for kthread_create_on_node();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment