Re: [PATCH 1/2] mtd/nand/omap2: fix omap_nand_remove segfault

From: Artem Bityutskiy
Date: Fri Aug 31 2012 - 07:52:24 EST


On Fri, 2012-08-31 at 13:35 +0200, Andreas BieÃmann wrote:
> Do not kfree() the mtd_info, it is handled in the mtd subsystem and already
> freed by nand_release(). Instead kfree() the struct omap_nand_info allocated in
> omap_nand_probe which was not kfree()ed before.
>
> This patch fixes following error when unloading the omap2 module:

Added "Cc: stable@xxxxxxxxxxxxxxx" to both patches and pushed to
l2-mtd.git, thanks!

--
Best Regards,
Artem Bityutskiy

Attachment: signature.asc
Description: This is a digitally signed message part