[PATCH] mtd: rawnand: nuvoton: Fix an error handling path in ma35_nand_chips_init()

Miquel Raynal miquel.raynal at bootlin.com
Mon Sep 1 05:25:50 PDT 2025


On Wed, 30 Jul 2025 21:47:46 +0200, Christophe JAILLET wrote:
> If a ma35_nand_chip_init() call fails, then a reference to 'nand_np' still
> needs to be released.
> 
> Use for_each_child_of_node_scoped() to fix the issue.
> 
> 

Applied to mtd/fixes, thanks!

[1/1] mtd: rawnand: nuvoton: Fix an error handling path in ma35_nand_chips_init()
      commit: 1eae113dd5ff5192cfd3e11b6ab7b96193b42c01

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




More information about the linux-arm-kernel mailing list