[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174436578937.2374.8623940315358740853.b4-ty@linux.intel.com>
Date: Fri, 11 Apr 2025 13:03:09 +0300
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Corentin Chary <corentin.chary@...il.com>,
Denis Arefev <arefev@...mel.ru>
Cc: "Luke D. Jones" <luke@...nes.dev>, Hans de Goede <hdegoede@...hat.com>,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, stable@...r.kernel.org
Subject: Re: [PATCH v2] asus-laptop: Fix an uninitialized variable
On Thu, 03 Apr 2025 15:26:01 +0300, Denis Arefev wrote:
> The value returned by acpi_evaluate_integer() is not checked,
> but the result is not always successful, so it is necessary to
> add a check of the returned value.
>
> If the result remains negative during three iterations of the loop,
> then the uninitialized variable 'val' will be used in the clamp_val()
> macro, so it must be initialized with the current value of the 'curr'
> variable.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] asus-laptop: Fix an uninitialized variable
commit: 6c683c6887e4addcd6bd1ddce08cafccb0a21e32
--
i.
Powered by blists - more mailing lists