public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@oss.nxp.com>
To: Felix Gu <ustc.gu@gmail.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Dong Aisheng <aisheng.dong@nxp.com>,
	linux-pm@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] firmware: imx: scu-pd: Fix device_node reference leak in imx_sc_pd_get_console_rsrc()
Date: Thu, 22 Jan 2026 16:51:40 +0800	[thread overview]
Message-ID: <aXHlHM+iINxFnDiU@shlinux89> (raw)
In-Reply-To: <20260121-b4-scu-pd-v1-1-f993e4082089@gmail.com>

On Wed, Jan 21, 2026 at 10:17:17PM +0800, Felix Gu wrote:
>When calling of_parse_phandle_with_args(), the caller is responsible
>to call of_node_put() to release the reference of device node.
>In imx_sc_pd_get_console_rsrc(), it does not release the reference.
>
>Fixes: 893cfb99734f ("firmware: imx: scu-pd: do not power off console domain")
>Signed-off-by: Felix Gu <ustc.gu@gmail.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

  reply	other threads:[~2026-01-22  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21 14:17 [PATCH] firmware: imx: scu-pd: Fix device_node reference leak in imx_sc_pd_get_console_rsrc() Felix Gu
2026-01-22  8:51 ` Peng Fan [this message]
2026-01-22 15:01 ` Markus Elfring
2026-01-27 14:27 ` Ulf Hansson

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=aXHlHM+iINxFnDiU@shlinux89 \
    --to=peng.fan@oss.nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=ulf.hansson@linaro.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