Re: [PATCH] arch/topology: Fix variable naming
From: Konrad Dybcio
Date: Tue Apr 30 2024 - 08:19:21 EST
On 25.04.2024 9:37 AM, Vincent Guittot wrote:
> Using hw_pressure for local variable is confusing in regard to the
> per_cpu hw_pressure variable. Rename it to avoid confusion.
To avoid confusing the compiler :P
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202404250740.VhQQoD7N-lkp@xxxxxxxxx/
> Signed-off-by: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
> ---
Fixes: d4dbc991714e ("sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure()")
Tested-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> # QC SM8550 QRD
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Konrad