Re: [PATCH] fixup! regulator: Add Fairchild FAN53555 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 01 Jul 2024 20:12:39 +0200, Ahmad Fatoum wrote:
> GCC reports:
> 
> drivers/regulator/fan53555.c:362:17: warning: ‘mode_reg’ may be used
> uninitialized [-Wmaybe-uninitialized]
> 362 |                 regmap_update_bits(di->rdev.regmap, mode_reg, mode_mask, 0);
> 
> Fix this by returning -EINVAL in that case, which is the error code used
> earlier if the vendor is an unexpected value.
> 
> [...]

Applied, thanks!

[1/1] fixup! regulator: Add Fairchild FAN53555 driver
      https://git.pengutronix.de/cgit/barebox/commit/?id=b6c1399875d6 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux