Messages in this thread | | | Subject | Re: [PATCH 1/2] mtd/nand/omap2: fix omap_nand_remove segfault | From | Artem Bityutskiy <> | Date | Fri, 31 Aug 2012 14:57:35 +0300 |
| |
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 [unhandled content-type:application/pgp-signature] | |