2011-03-15 23:12:36

by Randy Dunlap

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

From: Randy Dunlap <[email protected]>

Fix kernel-doc warning for runqueue_is_locked():

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

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Ingo Molnar <[email protected]>
---
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.
*/


2011-03-16 13:57:03

by Randy Dunlap

[permalink] [raw]
Subject: [tip:sched/urgent] sched, kernel-doc: Fix runqueue_is_locked() description

Commit-ID: 58cbe2476abce8b5e3508d23bd05c2e2e8c394da
Gitweb: http://git.kernel.org/tip/58cbe2476abce8b5e3508d23bd05c2e2e8c394da
Author: Randy Dunlap <[email protected]>
AuthorDate: Tue, 15 Mar 2011 16:12:30 -0700
Committer: Ingo Molnar <[email protected]>
CommitDate: Wed, 16 Mar 2011 14:00:23 +0100

sched, kernel-doc: Fix runqueue_is_locked() description

Fix kernel-doc warning for runqueue_is_locked():

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

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Linus Torvalds <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
kernel/sched.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index c8e40b7..58d66ea 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -661,10 +661,9 @@ static void update_rq_clock(struct rq *rq)
#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.
*/