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@vger.kernel.org" to both patches and pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy