2009-09-24 13:39:27

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: [PATCH] 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'

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
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(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 2f76e06..f0d1375 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -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
--
1.6.0.6


2009-10-06 16:42:35

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] sched: fix htmldocs sched.c

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'
>
> Signed-off-by: Jaswinder Singh Rajput <[email protected]>
> 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]>

Acked-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> kernel/sched.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/sched.c b/kernel/sched.c
> index 2f76e06..f0d1375 100644
> --- a/kernel/sched.c
> +++ b/kernel/sched.c
> @@ -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
> --


---
~Randy