Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] sched: fix kernel-doc warnings in kernel/sched/fair.c

1 view
Skip to first unread message

Randy Dunlap

unread,
Aug 18, 2012, 8:50:01 PM8/18/12
to
From: Randy Dunlap <rdu...@xenotime.net>

Fix kernel-doc warnings in kernel/sched/fair.c:

Warning(kernel/sched/fair.c:3660): Excess function parameter 'cpus' description in 'update_sg_lb_stats'
Warning(kernel/sched/fair.c:3806): Excess function parameter 'cpus' description in 'update_sd_lb_stats'

Signed-off-by: Randy Dunlap <rdu...@xenotime.net>
Cc: Ingo Molnar <mi...@redhat.com>
Cc: Peter Zijlstra <pet...@infradead.org>
---
kernel/sched/fair.c | 2 --
1 file changed, 2 deletions(-)

--- lnx-36-rc2.orig/kernel/sched/fair.c
+++ lnx-36-rc2/kernel/sched/fair.c
@@ -3650,7 +3650,6 @@ fix_small_capacity(struct sched_domain *
* @group: sched_group whose statistics are to be updated.
* @load_idx: Load index of sched_domain of this_cpu for load calc.
* @local_group: Does group contain this_cpu.
- * @cpus: Set of cpus considered for load balancing.
* @balance: Should we balance.
* @sgs: variable to hold the statistics for this group.
*/
@@ -3797,7 +3796,6 @@ static bool update_sd_pick_busiest(struc
/**
* update_sd_lb_stats - Update sched_domain's statistics for load balancing.
* @env: The load balancing environment.
- * @cpus: Set of cpus considered for load balancing.
* @balance: Should we balance.
* @sds: variable to hold the statistics for this sched_domain.
*/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Peter Zijlstra

unread,
Aug 20, 2012, 2:40:01 AM8/20/12
to
On Sat, 2012-08-18 at 17:45 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdu...@xenotime.net>
>
> Fix kernel-doc warnings in kernel/sched/fair.c:
>
> Warning(kernel/sched/fair.c:3660): Excess function parameter 'cpus' description in 'update_sg_lb_stats'
> Warning(kernel/sched/fair.c:3806): Excess function parameter 'cpus' description in 'update_sd_lb_stats'

Thanks!

tip-bot for Randy Dunlap

unread,
Sep 4, 2012, 2:50:02 PM9/4/12
to
Commit-ID: 9450d57eab5cad36774c297da123062744472588
Gitweb: http://git.kernel.org/tip/9450d57eab5cad36774c297da123062744472588
Author: Randy Dunlap <rdu...@xenotime.net>
AuthorDate: Sat, 18 Aug 2012 17:45:08 -0700
Committer: Ingo Molnar <mi...@kernel.org>
CommitDate: Tue, 4 Sep 2012 14:30:49 +0200

sched: Fix kernel-doc warnings in kernel/sched/fair.c

Fix two kernel-doc warnings in kernel/sched/fair.c:

Warning(kernel/sched/fair.c:3660): Excess function parameter 'cpus' description in 'update_sg_lb_stats'
Warning(kernel/sched/fair.c:3806): Excess function parameter 'cpus' description in 'update_sd_lb_stats'

Signed-off-by: Randy Dunlap <rdu...@xenotime.net>
Signed-off-by: Peter Zijlstra <a.p.zi...@chello.nl>
Link: http://lkml.kernel.org/r/50303714...@xenotime.net
Signed-off-by: Ingo Molnar <mi...@kernel.org>
---
kernel/sched/fair.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 86ad83c..42d9df6 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -3658,7 +3658,6 @@ fix_small_capacity(struct sched_domain *sd, struct sched_group *group)
* @group: sched_group whose statistics are to be updated.
* @load_idx: Load index of sched_domain of this_cpu for load calc.
* @local_group: Does group contain this_cpu.
- * @cpus: Set of cpus considered for load balancing.
* @balance: Should we balance.
* @sgs: variable to hold the statistics for this group.
*/
@@ -3805,7 +3804,6 @@ static bool update_sd_pick_busiest(struct lb_env *env,
0 new messages