[PATCH] regulator: fan53555: suppress warning about uninitialized variable

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 17 01:43:14 PDT 2025


On Fri, 14 Mar 2025 16:24:37 +0100, Jules Maselbas wrote:
> In function 'fan53555_device_setup', a call to 'regmap_update_bits' is
> made with the mode_mask variable potentially uninitialized.
> 
> This can be the case if di->vendor is FAN53526_VENDOR_FAIRCHILD and
> di->sleep_vsel_id is not handled by the case (neither FAN53555_VSEL_ID_0 nor FAN53555_VSEL_ID_1).
> I am not sure how likely it is to happen.
> 
> [...]

Applied, thanks!

[1/1] regulator: fan53555: suppress warning about uninitialized variable
      https://git.pengutronix.de/cgit/barebox/commit/?id=55d10d7aa06f (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list