diff options
| author | Qais Yousef <[email protected]> | 2023-01-12 12:27:07 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2023-01-13 10:40:21 +0000 |
| commit | e26fd28db82899be71b4b949527373d0a6be1e65 (patch) | |
| tree | 2a312dafb2d4a571f4617b8c115af0e6731ea5c4 /tools/perf/tests/bpf-script-example.c | |
| parent | sched/core: Use kfree_rcu() in do_set_cpus_allowed() (diff) | |
| download | kernel-e26fd28db82899be71b4b949527373d0a6be1e65.tar.gz kernel-e26fd28db82899be71b4b949527373d0a6be1e65.zip | |
sched/uclamp: Fix a uninitialized variable warnings
Addresses the following warnings:
> config: riscv-randconfig-m031-20221111
> compiler: riscv64-linux-gcc (GCC) 12.1.0
>
> smatch warnings:
> kernel/sched/fair.c:7263 find_energy_efficient_cpu() error: uninitialized symbol 'util_min'.
> kernel/sched/fair.c:7263 find_energy_efficient_cpu() error: uninitialized symbol 'util_max'.
Fixes: 244226035a1f ("sched/uclamp: Fix fits_capacity() check in feec()")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Qais Yousef (Google) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions
