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

2014-03-21 Thread Artem Bityutskiy
On Wed, 2014-03-19 at 11:43 +0100, 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 a001db38 > [ 172.046020] IP: [] destroy_params+0x24/0x50

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

2014-03-19 Thread Ezequiel Garcia
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 a001db38 > [ 172.046020] IP: [] destroy_params+0x24/0x50 > > Signed-off-by: Ric

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

2014-03-19 Thread Richard Weinberger
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 a001db38 [ 172.046020] IP: [] destroy_params+0x24/0x50 Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/block.c | 2 +-