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

From: cuigaosheng
Date: Wed Aug 17 2022 - 05:08:39 EST


I'll take a closer look at this link, thank you very much!

Gaosheng

在 2022/8/17 16:53, Srinivas Kandagatla 写道:


On 16/08/2022 14:49, Gaosheng Cui wrote:
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


I have applied these patches for now but remember the subject line does not reflect the patch version or the cover letter does not include any changes done over the versions.

Please take a look at https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html


thanks,
Srini

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

.