]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sched/core: Fix some documentation build warnings
authorJonathan Corbet <corbet@lwn.net>
Mon, 24 Jul 2017 19:56:28 +0000 (13:56 -0600)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Jul 2017 09:17:02 +0000 (11:17 +0200)
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@lwn.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-doc@vger.kernel.org
Link: http://lkml.kernel.org/r/20170724135628.695cecfc@lwn.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c

index 17c667b427b4a570611272f2906a8bf50778a7ce..0869b20fba81f6f1a7f5f73bde65fadc483f0fa2 100644 (file)
@@ -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