pmcmsp-flash.c: correct clean up?

Artem Bityutskiy dedekind1 at gmail.com
Tue Aug 11 07:26:40 EDT 2009


On Mon, 2009-08-10 at 10:16 +0200, Roel Kluin wrote:
> This also adds cleaning up after errors in init_msp_flash().
> 
> Also cleanup_msp_flash() attempts to determine the size of
> msp_flash with `sizeof(msp_flash) / sizeof(struct mtd_info **)'
> This will not work since msp_flash is not an array.
> 
> Signed-off-by: Roel Kluin <roel.kluin at gmail.com>

Taken to l2-mtd-2.6.git, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list