* [PATCH 11/14] kernel-doc: fix kernel-doc warnings in sched
@ 2012-01-21 19:03 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2012-01-21 19:03 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Linus Torvalds, Ingo Molnar, Peter Zijlstra
From: Randy Dunlap <rdunlap@xenotime.net>
Fix new kernel-doc notation warnings:
Warning(include/linux/sched.h:2094): No description found for parameter 'p'
Warning(include/linux/sched.h:2094): Excess function parameter 'tsk' description in 'is_idle_task'
Warning(kernel/sched/cpupri.c:139): No description found for parameter 'newpri'
Warning(kernel/sched/cpupri.c:139): Excess function parameter 'pri' description in 'cpupri_set'
Warning(kernel/sched/cpupri.c:208): Excess function parameter 'bootmem' description in 'cpupri_init'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
---
include/linux/sched.h | 2 +-
kernel/sched/cpupri.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
--- lnx-33-rc1.orig/include/linux/sched.h
+++ lnx-33-rc1/include/linux/sched.h
@@ -2088,7 +2088,7 @@ extern int sched_setscheduler_nocheck(st
extern struct task_struct *idle_task(int cpu);
/**
* is_idle_task - is the specified task an idle task?
- * @tsk: the task in question.
+ * @p: the task in question.
*/
static inline bool is_idle_task(struct task_struct *p)
{
--- lnx-33-rc1.orig/kernel/sched/cpupri.c
+++ lnx-33-rc1/kernel/sched/cpupri.c
@@ -129,7 +129,7 @@ int cpupri_find(struct cpupri *cp, struc
* cpupri_set - update the cpu priority setting
* @cp: The cpupri context
* @cpu: The target cpu
- * @pri: The priority (INVALID-RT99) to assign to this CPU
+ * @newpri: The priority (INVALID-RT99) to assign to this CPU
*
* Note: Assumes cpu_rq(cpu)->lock is locked
*
@@ -200,7 +200,6 @@ void cpupri_set(struct cpupri *cp, int c
/**
* cpupri_init - initialize the cpupri structure
* @cp: The cpupri context
- * @bootmem: true if allocations need to use bootmem
*
* Returns: -ENOMEM if memory fails.
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-21 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-21 19:03 [PATCH 11/14] kernel-doc: fix kernel-doc warnings in sched Randy Dunlap
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®