Re: [PATCH] asus-laptop: Fix an uninitialized variable

From: Denis Arefev
Date: Thu Apr 03 2025 - 08:24:11 EST


> But if ACPI doesn't provide a value, why should that clamp value be used
> instead? I'd tend to think curr would be more suitable "default".
> But shouldn't the loop either use continue to retry or the function
> return curr right away if acpi_evaluate_integer() returns an error?

Hi Ilpo.

I'm sorry it took me so long to respond.

Yes, your comments are correct.
I hope the new patch will help to make the algorithm less noisy.

Regards Denis.