[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aI_LGrnls6X7TFT6@shikoro>
Date: Sun, 3 Aug 2025 22:48:26 +0200
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Peter Rosin <peda@...ntia.se>, Andi Shyti <andi.shyti@...nel.org>,
Farouk Bouabid <farouk.bouabid@...rry.de>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-i2c@...r.kernel.org
Subject: Re: [PATCH] i2c: muxes: mule: Fix an error handling path in
mule_i2c_mux_probe()
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@...adoo.fr>
Applied to for-next (for 6.17 mergewindow), thanks!
Powered by blists - more mailing lists