Skip to contentSkip to conversation

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

PATCH In review Randy Dunlap 2 participants 3 messages Aug 19, 2012 – Sep 4, 2012 Scheduler

lore
Share & tools
lore
#0 lore raw

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

From: Randy Dunlap <[email protected]>

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'

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/sched/fair.c |    2 --
 1 file changed, 2 deletions(-)
kernel/sched/fair.c +0 -2
@@ -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.
  */
maintainer
#1 lore raw
Quoted 6 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

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!

#2 lore raw

[tip:sched/core] sched: Fix kernel-doc warnings in kernel/sched/ fair.c

In reply to Randy Dunlap
Commit-ID:  9450d57eab5cad36774c297da123062744472588
Gitweb:     http://git.kernel.org/tip/9450d57eab5cad36774c297da123062744472588
Author:     Randy Dunlap <[email protected]>
AuthorDate: Sat, 18 Aug 2012 17:45:08 -0700
Committer:  Ingo Molnar <[email protected]>
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'

---
 kernel/sched/fair.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
kernel/sched/fair.c +0 -2
index 86ad83c..42d9df6 100644
@@ -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,
 /**
  * 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.
  */