linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sch: Fix warning on make htmldocs caused by missing description
@ 2014-04-17 16:59 Masanari Iida
  2014-04-24  8:03 ` [tip:sched/urgent] sched/docbook: Fix 'make htmldocs' warnings " tip-bot for Masanari Iida
  0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2014-04-17 16:59 UTC (permalink / raw)
  To: peterz, mingo, linux-kernel; +Cc: Masanari Iida

When 'flags' argument to sched_{set,get}attr() syscalls were added in
commit 6d35ab48090b10, no description for 'flags' were added.
It causes warning on "make htmldocs".

Warning(/kernel/sched/core.c:3645): No description found for parameter 'flags'
Warning(/kernel/sched/core.c:3789): No description found for parameter 'flags'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 kernel/sched/core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 268a45e..9fe2190 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -3639,6 +3639,7 @@ SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param)
  * sys_sched_setattr - same as above, but with extended sched_attr
  * @pid: the pid in question.
  * @uattr: structure containing the extended parameters.
+ * @flags: for future extension.
  */
 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr,
 			       unsigned int, flags)
@@ -3783,6 +3784,7 @@ err_size:
  * @pid: the pid in question.
  * @uattr: structure containing the extended parameters.
  * @size: sizeof(attr) for fwd/bwd comp.
+ * @flags: for future extension.
  */
 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr,
 		unsigned int, size, unsigned int, flags)
-- 
1.9.2.468.g3f0c02a


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

* [tip:sched/urgent] sched/docbook: Fix 'make htmldocs' warnings caused by missing description
  2014-04-17 16:59 [PATCH] sch: Fix warning on make htmldocs caused by missing description Masanari Iida
@ 2014-04-24  8:03 ` tip-bot for Masanari Iida
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Masanari Iida @ 2014-04-24  8:03 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, standby24x7

Commit-ID:  db66d756c74acb886c51f11b501c2fe622018a0a
Gitweb:     http://git.kernel.org/tip/db66d756c74acb886c51f11b501c2fe622018a0a
Author:     Masanari Iida <standby24x7@gmail.com>
AuthorDate: Fri, 18 Apr 2014 01:59:15 +0900
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Thu, 24 Apr 2014 09:28:32 +0200

sched/docbook: Fix 'make htmldocs' warnings caused by missing description

When 'flags' argument to sched_{set,get}attr() syscalls were
added in:

  6d35ab48090b ("sched: Add 'flags' argument to sched_{set,get}attr() syscalls")

no description for 'flags' was added. It causes the following warnings on "make htmldocs":

  Warning(/kernel/sched/core.c:3645): No description found for parameter 'flags'
  Warning(/kernel/sched/core.c:3789): No description found for parameter 'flags'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Cc: peterz@infradead.org
Link: http://lkml.kernel.org/r/1397753955-2914-1-git-send-email-standby24x7@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 kernel/sched/core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 268a45e..9fe2190 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -3639,6 +3639,7 @@ SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param)
  * sys_sched_setattr - same as above, but with extended sched_attr
  * @pid: the pid in question.
  * @uattr: structure containing the extended parameters.
+ * @flags: for future extension.
  */
 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr,
 			       unsigned int, flags)
@@ -3783,6 +3784,7 @@ err_size:
  * @pid: the pid in question.
  * @uattr: structure containing the extended parameters.
  * @size: sizeof(attr) for fwd/bwd comp.
+ * @flags: for future extension.
  */
 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr,
 		unsigned int, size, unsigned int, flags)

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

end of thread, other threads:[~2014-04-24  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 16:59 [PATCH] sch: Fix warning on make htmldocs caused by missing description Masanari Iida
2014-04-24  8:03 ` [tip:sched/urgent] sched/docbook: Fix 'make htmldocs' warnings " tip-bot for Masanari Iida

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).