History

kernel-doc: fix kernel-doc warnings in sched

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'

Randy Dunlap committed 14 years ago

Commit fa757281 parent 2f6c76a2 files · +2 −3Browse files

Unified · Split

2 files
  1. include/linux/sched.h +1 −1
  2. kernel/sched/cpupri.c +1 −2
include/linux/sched.h+1−1
@@ -2088,7 +2088,7 @@ extern int sched_setscheduler_nocheck(struct task_struct *, int, · 2087 unmodified lines
20882088 extern struct task_struct *idle_task(int cpu);
20892089 /**
20902090 * is_idle_task - is the specified task an idle task?
2091− * @tsk: the task in question.
2091+ * @p: the task in question.
20922092 */
20932093 static inline bool is_idle_task(struct task_struct *p)
20942094 {
kernel/sched/cpupri.c+1−2
@@ -129,7 +129,7 @@ int cpupri_find(struct cpupri *cp, struct task_struct *p, · 128 unmodified lines
129129 * cpupri_set - update the cpu priority setting
130130 * @cp: The cpupri context
131131 * @cpu: The target cpu
132− * @pri: The priority (INVALID-RT99) to assign to this CPU
132+ * @newpri: The priority (INVALID-RT99) to assign to this CPU
133133 *
134134 * Note: Assumes cpu_rq(cpu)->lock is locked
135135 *
@@ -200,7 +200,6 @@ void cpupri_set(struct cpupri *cp, int cpu, int newpri) · 64 unmodified lines
200200 /**
201201 * cpupri_init - initialize the cpupri structure
202202 * @cp: The cpupri context
203− * @bootmem: true if allocations need to use bootmem
204203 *
205204 * Returns: -ENOMEM if memory fails.
206205 */