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

Sebastian Reichel sebastian.reichel at collabora.com
Mon Nov 3 03:48:33 MSK 2025


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 at collabora.com>




More information about the lvc-project mailing list