diff options
author | Qais Yousef <qyousef@layalina.io> | 2023-01-12 15:27:07 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-01-13 13:40:21 +0300 |
commit | e26fd28db82899be71b4b949527373d0a6be1e65 (patch) | |
tree | 2a312dafb2d4a571f4617b8c115af0e6731ea5c4 /tools/perf/tests/bpf-script-example.c | |
parent | 9a5418bc48babb313d2a62df29ebe21ce8c06c59 (diff) | |
download | linux-e26fd28db82899be71b4b949527373d0a6be1e65.tar.xz |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Qais Yousef (Google) <qyousef@layalina.io>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20230112122708.330667-2-qyousef@layalina.io
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions