The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] sched/core: add doc for cookie argument
@ 2016-07-10 14:00 Luis de Bethencourt
  2016-08-10 18:04 ` [tip:sched/core] sched/core: Add documentation for 'cookie' argument tip-bot for Luis de Bethencourt
  0 siblings, 1 reply; 2+ messages in thread
From: Luis de Bethencourt @ 2016-07-10 14:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, mingo, peterz, efault, tglx, Luis de Bethencourt

Add documentation for the cookie argument in try_to_wake_up_local()

This caused the following warning when building documentation:
kernel/sched/core.c:2088: warning: No description found for parameter 'cookie'

Fixes: e7904a28f533 ("ilocking/lockdep, sched/core: Implement a better lock pinning scheme")

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
 kernel/sched/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 8c642cc..1f35e8c 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2079,6 +2079,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
  *
  * 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
-- 
2.5.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-10 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-10 14:00 [PATCH] sched/core: add doc for cookie argument Luis de Bethencourt
2016-08-10 18:04 ` [tip:sched/core] sched/core: Add documentation for 'cookie' argument tip-bot for Luis de Bethencourt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox