[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175916134713.50416.13477111980143091827.b4-ty@bootlin.com>
Date: Mon, 29 Sep 2025 17:55:47 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Erick Karanja <karanja99erick@...il.com>
Cc: richard@....at, vigneshr@...com, nicolas.ferre@...rochip.com,
alexandre.belloni@...tlin.com, claudiu.beznea@...on.dev,
linux-mtd@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-kernel-mentees@...ts.linux.dev
Subject: Re: [PATCH] mtd: rawnand: atmel: Fix error handling path in
atmel_nand_controller_add_nands
On Mon, 22 Sep 2025 14:07:27 +0300, Erick Karanja wrote:
> In case of a jump to the err label due to atmel_nand_create() or
> atmel_nand_controller_add_nand() failure, the reference to nand_np
> need to be released
>
> Use for_each_child_of_node_scoped() to fix the issue.
>
> Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver")
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands
commit: 8ed4728eb9f10b57c3eb02e0f6933a89ffcb8a91
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
Powered by blists - more mailing lists