[PATCH] sched: fix kernel-doc function parameter name

From: Randy Dunlap
Date: Fri Nov 06 2009 - 17:31:05 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix variable name in sched.c kernel-doc notation.

Warning(kernel/sched.c:2008): No description found for parameter 'p'
Warning(kernel/sched.c:2008): Excess function parameter 'k' description in 'kthread_bind'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
kernel/sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.32-rc6-git3.orig/kernel/sched.c
+++ linux-2.6.32-rc6-git3/kernel/sched.c
@@ -1994,7 +1994,7 @@ static inline void check_class_changed(s

/**
* kthread_bind - bind a just-created kthread to a cpu.
- * @k: thread created by kthread_create().
+ * @p: thread created by kthread_create().
* @cpu: cpu (might not be online, must be possible) for @k to run on.
*
* Description: This function is equivalent to set_cpus_allowed(),
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/