[PATCH master 1/2] nvmem: regmap: fix use of uninitialized space with nvmem_regmap_register

Sascha Hauer sha at pengutronix.de
Sun Jun 20 22:02:25 PDT 2021


On Sat, Jun 19, 2021 at 05:32:11AM +0200, Ahmad Fatoum wrote:
> Looking through all instances of struct nvmem_config in the tree shows
> that only the new nvmem_regmap_register failed to initialize all
> members, e.g. config::read_only was uninitialized. Fix this up.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  drivers/nvmem/regmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list