Skip to contentSkip to conversation

sch: Fix warning on make htmldocs caused by missing description

PATCH New Masanari Iida 2 participants 2 messages Apr 17, 2014 – Apr 24, 2014 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sch: Fix warning on make htmldocs caused by missing description

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'

---
 kernel/sched/core.c | 2 ++
 1 file changed, 2 insertions(+)
kernel/sched/core.c +2 -0
index 268a45e..9fe2190 100644
@@ -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)
Signature · 1 line
1.9.2.468.g3f0c02a
#1 lore raw

[tip:sched/urgent] sched/docbook: Fix 'make htmldocs' warnings caused by missing description

sched/docbook: Fix 'make htmldocs' warnings caused by missing description
Commit-ID:  db66d756c74acb886c51f11b501c2fe622018a0a
Gitweb:     http://git.kernel.org/tip/db66d756c74acb886c51f11b501c2fe622018a0a
Author:     Masanari Iida <[email protected]>
AuthorDate: Fri, 18 Apr 2014 01:59:15 +0900
Committer:  Ingo Molnar <[email protected]>
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'

---
 kernel/sched/core.c | 2 ++
 1 file changed, 2 insertions(+)
kernel/sched/core.c +2 -0
index 268a45e..9fe2190 100644
@@ -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)