From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Peter Rosin <peda@axentia.se>, Andi Shyti <andi.shyti@kernel.org>,
Farouk Bouabid <farouk.bouabid@cherry.de>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-i2c@vger.kernel.org
Subject: Re: [PATCH] i2c: muxes: mule: Fix an error handling path in mule_i2c_mux_probe()
Date: Sun, 3 Aug 2025 22:48:26 +0200 [thread overview]
Message-ID: <aI_LGrnls6X7TFT6@shikoro> (raw)
In-Reply-To: <354bf00a245ec3bac9cdd197a06138dddda2f009.1753904271.git.christophe.jaillet@wanadoo.fr>
On Wed, Jul 30, 2025 at 09:38:02PM +0200, Christophe JAILLET wrote:
> If an error occurs in the loop that creates the device adapters, then a
> reference to 'dev' still needs to be released.
>
> Use for_each_child_of_node_scoped() to both fix the issue and save one line
> of code.
>
> Fixes: d0f8e97866bf ("i2c: muxes: add support for tsd,mule-i2c multiplexer")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied to for-next (for 6.17 mergewindow), thanks!
prev parent reply other threads:[~2025-08-03 20:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 19:38 [PATCH] i2c: muxes: mule: Fix an error handling path in mule_i2c_mux_probe() Christophe JAILLET
2025-08-03 20:48 ` Wolfram Sang [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=aI_LGrnls6X7TFT6@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=andi.shyti@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=farouk.bouabid@cherry.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peda@axentia.se \
/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