[PATCH 6/6] sched.c: fix kernel-doc for runqueue_is_locked()

From: Randy Dunlap
Date: Tue Mar 15 2011 - 19:12:39 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix kernel-doc warning for runqueue_is_locked():

Warning(kernel/sched.c:664): missing initial short description on line:

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
---
kernel/sched.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

--- lnx-2638-rc8.orig/kernel/sched.c
+++ lnx-2638-rc8/kernel/sched.c
@@ -664,10 +664,9 @@ static void update_rq_clock(struct rq *r
#endif

/**
- * runqueue_is_locked
+ * runqueue_is_locked - Returns true if the current cpu runqueue is locked
* @cpu: the processor in question.
*
- * Returns true if the current cpu runqueue is locked.
* This interface allows printk to be called with the runqueue lock
* held and know whether or not it is OK to wake up the klogd.
*/
--
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/