Qais Yousef
b811432fc5
sched/uclamp: Fix a uninitialized variable warnings
...
[ Upstream commit e26fd28db82899be71b4b949527373d0a6be1e65 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:34:36 +01:00
..
2022-08-12 11:25:10 +02:00
2022-02-23 08:22:00 +01:00
2022-05-01 10:03:43 +02:00
2022-05-01 10:03:43 +02:00
2022-05-19 23:46:09 +02:00
2022-09-07 21:53:49 +02:00
2022-09-07 21:53:47 +02:00
2023-01-24 07:24:41 +01:00
2022-03-15 09:05:05 +01:00
2022-08-02 12:32:45 +02:00
2022-11-22 19:56:52 +01:00
2022-02-23 10:58:33 +01:00
2022-08-12 11:25:10 +02:00
2020-10-29 11:00:30 +01:00
2022-07-04 09:23:07 +02:00
2022-10-17 16:41:25 +02:00
2022-10-10 17:53:04 -07:00
2023-02-01 08:34:36 +01:00
2022-06-28 09:08:30 +02:00
2022-07-05 13:32:16 -07:00
2022-02-23 10:58:33 +01:00
2022-02-23 10:58:33 +01:00
2022-02-23 10:58:33 +01:00
2022-02-23 10:58:33 +01:00
2022-02-23 10:58:33 +01:00
2022-06-28 09:17:46 +02:00
2022-12-31 13:31:55 +01:00
2022-10-17 16:41:25 +02:00
2019-06-17 12:15:58 +02:00
2022-12-31 13:31:54 +01:00
2022-05-01 10:03:43 +02:00
2022-02-23 10:58:33 +01:00
2022-09-09 11:08:32 +02:00
2022-08-27 00:05:35 +02:00
2022-02-23 10:58:33 +01:00
2022-06-13 10:30:00 +02:00
2022-08-26 09:30:25 -07:00
2022-02-23 10:58:33 +01:00