Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org,
	Frank Li <Frank.Li@nxp.com>
Cc: imx@lists.linux.dev
Subject: Re: [PATCH v3 1/1] i3c: fix refcount inconsistency in i3c_master_register
Date: Fri, 31 Oct 2025 00:43:38 +0100	[thread overview]
Message-ID: <176186765078.475593.5246237578344242065.b4-ty@bootlin.com> (raw)
In-Reply-To: <20251016143814.2551256-1-Frank.Li@nxp.com>

On Thu, 16 Oct 2025 10:38:13 -0400, Frank Li wrote:
> In `i3c_master_register`, a possible refcount inconsistency has been
> identified, causing possible resource leak.
> 
> Function `of_node_get` increases the refcount of `parent->of_node`. If
> function `i3c_bus_init` fails, the function returns immediately without
> a corresponding decrease, resulting in an inconsistent refcounter.
> 
> [...]

Applied, thanks!

[1/1] i3c: fix refcount inconsistency in i3c_master_register
      https://git.kernel.org/abelloni/c/9d4f219807d5

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2025-10-30 23:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-16 14:38 [PATCH v3 1/1] i3c: fix refcount inconsistency in i3c_master_register Frank Li
2025-10-16 15:07 ` [PATCH v3] " Markus Elfring
2025-10-16 15:11   ` Greg Kroah-Hartman
2025-10-30 23:43 ` Alexandre Belloni [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=176186765078.475593.5246237578344242065.b4-ty@bootlin.com \
    --to=alexandre.belloni@bootlin.com \
    --cc=Frank.Li@nxp.com \
    --cc=imx@lists.linux.dev \
    --cc=linux-i3c@lists.infradead.org \
    --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