Re: [PATCH 1/2] UBI: block: Remove __initdata from ubiblock_param_ops
From: Ezequiel Garcia
Date: Wed Mar 19 2014 - 09:24:55 EST
On Mar 19, Richard Weinberger wrote:
> You cannot mark these parameters as __initdata.
> Otherwise the data is gone upon module exit.
>
> Fixes:
> [ 172.045465] BUG: unable to handle kernel paging request at ffffffffa001db38
> [ 172.046020] IP: [<ffffffff81067aa4>] destroy_params+0x24/0x50
>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>
Acked-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>
Thanks for the fix!
--
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/