lkml.org 
[lkml]   [2012]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] mtd/nand/omap2: fix omap_nand_remove segfault
From
Date
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]
\
 
 \ /
  Last update: 2012-08-31 14:21    [W:0.109 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site