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

2021-06-20 Thread Sascha Hauer
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 Fatou

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

2021-06-18 Thread Ahmad Fatoum
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 --- drivers/nvmem/regmap.c | 2 +- 1 file changed, 1 insertion(+), 1