Messages in this thread | | | From | Gaosheng Cui <> | Subject | [PATCH -next 0/2] A few fixup patches for nvmem | Date | Tue, 16 Aug 2022 21:49:33 +0800 |
| |
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
| |