Skip to contentSkip to conversation

sched: fix htmldocs sched.c

PATCH In review Jaswinder Singh Rajput 2 participants 2 messages Sep 24, 2009 – Oct 6, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: fix htmldocs sched.c

fix the following htmldocs warnings:

Warning(kernel/sched.c:685): No description found for parameter 'cpu' Warning(kernel/sched.c:3676): No description found for parameter 'sd'

Cc Andrew Morton <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Randy Dunlap <[email protected]>
---
 kernel/sched.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
kernel/sched.c +2 -0
index 2f76e06..f0d1375 100644
@@ -676,6 +676,7 @@ inline void update_rq_clock(struct rq *rq)
 
 /**
  * runqueue_is_locked
+ * @cpu: the processor in question.
  *
  * Returns true if the current cpu runqueue is locked.
  * This interface allows printk to be called with the runqueue lock
@@ -3658,6 +3659,7 @@ static void update_group_power(struct sched_domain *sd, int cpu)
 
 /**
  * update_sg_lb_stats - Update sched_group's statistics for load balancing.
+ * @sd: The sched_domain whose statistics are to be updated.
  * @group: sched_group whose statistics are to be updated.
  * @this_cpu: Cpu for which load balance is currently performed.
  * @idle: Idle status of this_cpu
Signature · 1 line
1.6.0.6
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Thu, 24 Sep 2009 19:08:50 +0530 Jaswinder Singh Rajput wrote:

fix the following htmldocs warnings:

Warning(kernel/sched.c:685): No description found for parameter 'cpu' Warning(kernel/sched.c:3676): No description found for parameter 'sd'

Quoted 6 lines
Cc Andrew Morton <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Randy Dunlap <[email protected]>

Thanks.

Quoted 18 lines
---
 kernel/sched.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
kernel/sched.c +1 -0
index 2f76e06..f0d1375 100644
@@ -676,6 +676,7 @@ inline void update_rq_clock(struct rq *rq)
 
 /**
  * runqueue_is_locked
+ * @cpu: the processor in question.
  *
  * Returns true if the current cpu runqueue is locked.
  * This interface allows printk to be called with the runqueue lock

kernel/sched.c static void update_group_power(struct sched_domain *sd, int cpu) · line 3665

Quoted 7 lines
kernel/sched.c +1 -0
@@ -3658,6 +3659,7 @@ static void update_group_power(struct sched_domain *sd, int cpu)
 
 /**
  * update_sg_lb_stats - Update sched_group's statistics for load balancing.
+ * @sd: The sched_domain whose statistics are to be updated.
  * @group: sched_group whose statistics are to be updated.
  * @this_cpu: Cpu for which load balance is currently performed.
  * @idle: Idle status of this_cpu

---
~Randy