Re: [PATCH 1/1] cpufreq: armada-37xx: use max() to calculate target_vm

From: Viresh Kumar
Date: Mon Aug 11 2025 - 02:53:49 EST


On 09-08-25, 19:46, Akhilesh Patil wrote:
> Use max() macro while calculating target_vm to simplify and improve the
> armada-37xx-cpufreq driver code.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/r/202503251256.rrl65HgY-lkp@xxxxxxxxx/
> Reported-by: Yang Ruibin <11162571@xxxxxxxx>
> Closes: https://lore.kernel.org/lkml/2c55fb07-b29e-43e0-8697-f75d1f0df89a@xxxxxxxx/
> Signed-off-by: Akhilesh Patil <akhilesh@xxxxxxxxxxxxx>
> ---
> drivers/cpufreq/armada-37xx-cpufreq.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

--
viresh