Re: Crash in mtd_cls_suspend because mtd is NULL.

From: Artem Bityutskiy
Date: Thu Feb 02 2012 - 23:56:41 EST


On Fri, 2012-02-03 at 10:50 +1100, NeilBrown wrote:
> Hi,
> I just tried to suspend my GTA04 (OMAP based mobile phone platform) running
> 3.3-rc2 and it crashed in mtd_cls_suspend because mtd was NULL.
>
> So for me, it looks like the following patch is a regression.
>
> Is there anything I can do to help find the correct resolution here.
>
> (It has some flash memory but I am not using it at all).

Neil, there is a fix:

http://git.infradead.org/users/dedekind/l2-mtd.git/commit/da50432777e184dd889f077cf06a74aa24cb80d9

I should just be merged upstream. It was discussed here:

http://patchwork.ozlabs.org/patch/138551/

--
Best Regards,
Artem Bityutskiy

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