[Uclinux-dist-devel] [PATCH] mtd: Blackfin NFC: fix invalid free in remove()

Mike Frysinger vapier at gentoo.org
Mon Aug 30 09:31:48 EDT 2010

On Mon, Aug 30, 2010 at 08:58, Artem Bityutskiy wrote:
> On Sat, 2010-08-28 at 16:42 -0400, Mike Frysinger wrote:
>> Since info->mtd isn't dynamically allocated, we shouldn't attempt to
>> kfree() it.  Otherwise we get random fun corruption when unloading
>> the driver built as a module.
>> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
>> ---
>> note: this should be merged for 2.6.36 and probably sent to stable trees
> You send the same patch 2 times once with this note and the other time
> without this note. Which one should be ignored?

they're the same thing.  i used a wrong option with git-send-email.

More information about the linux-mtd mailing list