Patchworkβ sched: fix kernel-doc function parameter name

login
register
about
Submitter Randy Dunlap
Date 2009-11-06 23:31:08
Message ID <4AF4B1BC.8020604@oracle.com>
Download mbox | patch
Permalink /patch/58183/
State New
Headers show

Comments

Randy Dunlap - 2009-11-06 23:31:08
From: Randy Dunlap <randy.dunlap@oracle.com>

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@oracle.com>
---
 kernel/sched.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch

--- 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(),