lkml.org 
[lkml]   [2010]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] sched: fix kernel-doc for runqueue_is_locked
From: Randy Dunlap <randy.dunlap@oracle.com>

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@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
---
kernel/sched.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

--- lnx-2637-r2g4-kerndoc.orig/kernel/sched.c
+++ lnx-2637-r2g4-kerndoc/kernel/sched.c
@@ -664,10 +664,9 @@ inline 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.
*/
---

\
 
 \ /
  Last update: 2010-11-19 00:07    [W:0.107 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site