From: Markus Elfring <Markus.Elfring@web.de>
To: vulab@iscas.ac.cn, imx@lists.linux.dev, linux-pm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de,
Fabio Estevam <festevam@gmail.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
Ulf Hansson <ulf.hansson@linaro.org>
Cc: stable@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pmdomain: imx: Fix reference count leak in imx_gpc_probe()
Date: Mon, 8 Dec 2025 16:35:51 +0100 [thread overview]
Message-ID: <eaee9a11-bf8b-4f83-ac92-1d3a32eeb240@web.de> (raw)
In-Reply-To: <20251208094242.17821-1-vulab@iscas.ac.cn>
…
> @@ -495,12 +501,17 @@ static int imx_gpc_probe(struct platform_device *pdev)
…
> }
>
> + of_node_put(pgc_node);
> return 0;
> +
A duplicate statement can be avoided here.
ret = 0;
> +err_free:
> + of_node_put(pgc_node);
> + return ret;
> }
Regards,
Markus
prev parent reply other threads:[~2025-12-08 15:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-08 9:42 [PATCH] pmdomain: imx: Fix reference count leak in imx_gpc_probe() Wentao Liang
2025-12-08 15:32 ` Frank Li
2025-12-08 15:35 ` Markus Elfring [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=eaee9a11-bf8b-4f83-ac92-1d3a32eeb240@web.de \
--to=markus.elfring@web.de \
--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=stable@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=vulab@iscas.ac.cn \
/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;
as well as URLs for NNTP newsgroup(s).