From: Sudeep Holla <sudeep.holla@kernel.org>
To: Cristian Marussi <cristian.marussi@arm.com>,
Sudeep Holla <sudeep.holla@kernel.org>,
Felix Gu <ustc.gu@gmail.com>
Cc: arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] firmware: arm_scpi: Fix device_node reference leak in scpi_probe()
Date: Sun, 8 Mar 2026 12:57:46 +0000 [thread overview]
Message-ID: <177297460000.1087540.1235389041649410289.b4-ty@kernel.org> (raw)
In-Reply-To: <20260121-arm_scpi_2-v2-1-702d7fa84acb@gmail.com>
On Wed, 21 Jan 2026 21:08:19 +0800, Felix Gu wrote:
> In scpi_probe(), if of_match_node() fails and the function returns
> early, the shmem reference is not released.
> Use __free(device_node) scope-based cleanup to automatically release
> the reference when the variable goes out of scope.
>
>
Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!
[1/1] firmware: arm_scpi: Fix device_node reference leak in scpi_probe()
https://git.kernel.org/sudeep.holla/c/879c001afbac
--
Regards,
Sudeep
prev parent reply other threads:[~2026-03-08 12:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 13:08 Felix Gu
2026-03-08 12:57 ` Sudeep Holla [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=177297460000.1087540.1235389041649410289.b4-ty@kernel.org \
--to=sudeep.holla@kernel.org \
--cc=arm-scmi@vger.kernel.org \
--cc=cristian.marussi@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ustc.gu@gmail.com \
/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®