[tip:sched/urgent] sched: Fix kernel-doc function parameter name

From: tip-bot for Randy Dunlap
Date: Sun Nov 08 2009 - 05:28:26 EST


Commit-ID: 968c86458a5975efa7a95f832a4ec9fb21471137
Gitweb: http://git.kernel.org/tip/968c86458a5975efa7a95f832a4ec9fb21471137
Author: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
AuthorDate: Fri, 6 Nov 2009 15:31:08 -0800
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Sun, 8 Nov 2009 11:26:25 +0100

sched: Fix kernel-doc function parameter name

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

Fixes this DocBook warning:

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>
LKML-Reference: <4AF4B1BC.8020604@xxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
kernel/sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 28dd4f4..7d7d5fc 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1994,7 +1994,7 @@ static inline void check_class_changed(struct rq *rq, struct task_struct *p,

/**
* 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/