Re: [PATCH v2 37/62] mtd: rawnand: oxnas: Unregister all devices on error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2020-05-19 at 13:00:10 UTC, Miquel Raynal wrote:
> On error, the oxnas probe path just frees the device which failed and
> aborts the probe, leaving unreleased resources.
> 
> Fix this situation by calling mtd_device_unregister()/nand_cleanup()
> on these.
> 
> Fixes: 668592492409 ("mtd: nand: Add OX820 NAND Support")
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux