[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-bf50f0e8a03005d19de66d01261d855cdeedf572@git.kernel.org>
Date: Tue, 25 Jul 2017 06:47:51 -0700
From: tip-bot for Jonathan Corbet <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: tglx@...utronix.de, corbet@....net, torvalds@...ux-foundation.org,
peterz@...radead.org, linux-kernel@...r.kernel.org,
mingo@...nel.org, hpa@...or.com
Subject: [tip:sched/urgent] sched/core: Fix some documentation build
warnings
Commit-ID: bf50f0e8a03005d19de66d01261d855cdeedf572
Gitweb: http://git.kernel.org/tip/bf50f0e8a03005d19de66d01261d855cdeedf572
Author: Jonathan Corbet <corbet@....net>
AuthorDate: Mon, 24 Jul 2017 13:56:28 -0600
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 25 Jul 2017 11:17:02 +0200
sched/core: Fix some documentation build warnings
The kerneldoc comments for try_to_wake_up_local() were out of date, leading
to these documentation build warnings:
./kernel/sched/core.c:2080: warning: No description found for parameter 'rf'
./kernel/sched/core.c:2080: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local'
Update the comment to reflect current reality and give us some peace and
quiet.
Signed-off-by: Jonathan Corbet <corbet@....net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-doc@...r.kernel.org
Link: http://lkml.kernel.org/r/20170724135628.695cecfc@lwn.net
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 17c667b..0869b20 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2069,7 +2069,7 @@ out:
/**
* try_to_wake_up_local - try to wake up a local task with rq lock held
* @p: the thread to be awakened
- * @cookie: context's cookie for pinning
+ * @rf: request-queue flags for pinning
*
* Put @p on the run-queue if it's not already there. The caller must
* ensure that this_rq() is locked, @p is bound to this_rq() and not
Powered by blists - more mailing lists