linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tip-bot for Randy Dunlap <randy.dunlap@oracle.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
	peterz@infradead.org, tglx@linutronix.de,
	randy.dunlap@oracle.com, mingo@elte.hu
Subject: [tip:sched/urgent] sched: Fix yield_to kernel-doc
Date: Sat, 19 Mar 2011 18:22:22 GMT	[thread overview]
Message-ID: <tip-16addf954d3954a72fd56abc02ffcba3c18529a1@git.kernel.org> (raw)
In-Reply-To: <20110318093453.8f7489a4.randy.dunlap@oracle.com>

Commit-ID:  16addf954d3954a72fd56abc02ffcba3c18529a1
Gitweb:     http://git.kernel.org/tip/16addf954d3954a72fd56abc02ffcba3c18529a1
Author:     Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Fri, 18 Mar 2011 09:34:53 -0700
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Sat, 19 Mar 2011 19:19:36 +0100

sched: Fix yield_to kernel-doc

Add missing function parameters for yield_to():

 Warning(kernel/sched.c:5470): No description found for parameter 'p'
 Warning(kernel/sched.c:5470): No description found for parameter 'preempt'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110318093453.8f7489a4.randy.dunlap@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 kernel/sched.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 58d66ea..052120d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5467,6 +5467,8 @@ EXPORT_SYMBOL(yield);
  * yield_to - yield the current processor to another thread in
  * your thread group, or accelerate that thread toward the
  * processor it's on.
+ * @p: target task
+ * @preempt: whether task preemption is allowed or not
  *
  * It's the caller's job to ensure that the target task struct
  * can't go away on us before we can do any checks.

      reply	other threads:[~2011-03-19 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 16:34 [PATCH] sched: fix yield_to kernel-doc Randy Dunlap
2011-03-19 18:22 ` tip-bot for Randy Dunlap [this message]

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=tip-16addf954d3954a72fd56abc02ffcba3c18529a1@git.kernel.org \
    --to=randy.dunlap@oracle.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@elte.hu \
    --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;
as well as URLs for NNTP newsgroup(s).