Re: [PATCH] power: supply: rt9467: Prevent using uninitialized local variable in rt9467_set_value_from_ranges()

From: Sebastian Reichel
Date: Sun Nov 02 2025 - 19:50:46 EST



On Thu, 09 Oct 2025 17:53:08 +0300, Murad Masimov wrote:
> There is a typo in rt9467_set_value_from_ranges() that can cause leaving local
> variable sel with an undefined value which is then used in regmap_field_write().
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
>

Applied, thanks!

[1/1] power: supply: rt9467: Prevent using uninitialized local variable in rt9467_set_value_from_ranges()
commit: 15aca30cc6c69806054b896a2ccf7577239cb878

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>