mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next 0/2] A few fixup patches for nvmem
@ 2022-08-16 13:49 Gaosheng Cui
  2022-08-16 13:49 ` [PATCH -next 1/2] nvmem: core: Fix memleak in nvmem_register() Gaosheng Cui
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gaosheng Cui @ 2022-08-16 13:49 UTC (permalink / raw)
  To: srinivas.kandagatla, gregkh, cuigaosheng1; +Cc: linux-kernel, wangweiyang2

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-17  9:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 13:49 [PATCH -next 0/2] A few fixup patches for nvmem Gaosheng Cui
2022-08-16 13:49 ` [PATCH -next 1/2] nvmem: core: Fix memleak in nvmem_register() Gaosheng Cui
2022-08-16 13:49 ` [PATCH -next 2/2] nvmem: core: add error handling for dev_set_name Gaosheng Cui
2022-08-17  8:53 ` [PATCH -next 0/2] A few fixup patches for nvmem Srinivas Kandagatla
2022-08-17  9:08   ` cuigaosheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®