[PATCH 1/2] UBI: block: Remove __initdata from ubiblock_param_ops

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Wed Mar 19 09:24:26 EDT 2014


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 at nod.at>

Acked-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>

Thanks for the fix!
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the linux-mtd mailing list