mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Luis de Bethencourt <luisbg@osg.samsung.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, mingo@redhat.com,
	peterz@infradead.org, efault@gmx.de, tglx@linutronix.de,
	Luis de Bethencourt <luisbg@osg.samsung.com>
Subject: [PATCH] sched/core: add doc for cookie argument
Date: Sun, 10 Jul 2016 15:00:26 +0100	[thread overview]
Message-ID: <1468159226-17674-1-git-send-email-luisbg@osg.samsung.com> (raw)

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

             reply	other threads:[~2016-07-10 14:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-10 14:00 Luis de Bethencourt [this message]
2016-08-10 18:04 ` [tip:sched/core] sched/core: Add documentation for 'cookie' argument tip-bot for Luis de Bethencourt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468159226-17674-1-git-send-email-luisbg@osg.samsung.com \
    --to=luisbg@osg.samsung.com \
    --cc=akpm@linux-foundation.org \
    --cc=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®