[PATCH -next 0/2] A few fixup patches for nvmem

From: Gaosheng Cui
Date: Tue Aug 16 2022 - 09:50:09 EST


This series contains a fixup patches to fix possible memleak,
and add error handling of dev_set_name to keep nvmem code
implementation consistent, in addition, it can also avoid
the possibility illegal address access. Thanks!

Gaosheng Cui (2):
nvmem: core: Fix memleak in nvmem_register()
nvmem: core: add error handling for dev_set_name

drivers/nvmem/core.c | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)

--
2.25.1