From: Srinivas Kandagatla <srini@kernel.org>
To: linux-kernel@vger.kernel.org, Alok Tiwari <alok.a.tiwari@oracle.com>
Cc: darren.kenny@oracle.com
Subject: Re: (subset) [PATCH 1/2] nvmem: core: fix memory leak in nvmem_register() on error path
Date: Fri, 27 Jun 2025 13:08:31 +0100 [thread overview]
Message-ID: <175102611159.6832.14617431798504418373.b4-ty@kernel.org> (raw)
In-Reply-To: <20250615135212.1356469-1-alok.a.tiwari@oracle.com>
On Sun, 15 Jun 2025 06:52:07 -0700, Alok Tiwari wrote:
> Ensure that the allocated nvmem structure is freed if device
> registration return error code.
> The missing kfree() caused a memory leak when nvmem_register()
> exited via err_put_device label.
>
>
Applied, thanks!
[2/2] nvmem: core: Fix typos in comments and MODULE_AUTHOR strings
commit: 98addb97db5d86ad18c831241c03f180d269438f
Best regards,
--
Srinivas Kandagatla <srini@kernel.org>
prev parent reply other threads:[~2025-06-27 12:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-15 13:52 Alok Tiwari
2025-06-15 13:52 ` [PATCH 2/2] nvmem: core: Fix typos in comments and MODULE_AUTHOR strings Alok Tiwari
2025-06-16 12:44 ` [PATCH 1/2] nvmem: core: fix memory leak in nvmem_register() on error path ALOK TIWARI
2025-06-27 12:08 ` Srinivas Kandagatla [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175102611159.6832.14617431798504418373.b4-ty@kernel.org \
--to=srini@kernel.org \
--cc=alok.a.tiwari@oracle.com \
--cc=darren.kenny@oracle.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®