Re: [PATCH] ramoops: make it possible to change mem_type param.

2015-03-30 Thread long.wanglong
On 2015/3/31 0:31, Tony Lindgren wrote: > * Wang Long [150327 02:43]: >> If we set ramoops.mem_type=1 in command line, the current >> code can not change mem_type to 1, because it is assigned >> to 0 in function ramoops_register_dummy. >> >> This patch make it possible to change mem_type

Re: [PATCH] ramoops: make it possible to change mem_type param.

2015-03-30 Thread Tony Lindgren
* Wang Long [150327 02:43]: > If we set ramoops.mem_type=1 in command line, the current > code can not change mem_type to 1, because it is assigned > to 0 in function ramoops_register_dummy. > > This patch make it possible to change mem_type parameter > in command line. > > Signed-off-by: Wang

Re: [PATCH] ramoops: make it possible to change mem_type param.

2015-03-30 Thread Tony Lindgren
* Wang Long long.wangl...@huawei.com [150327 02:43]: If we set ramoops.mem_type=1 in command line, the current code can not change mem_type to 1, because it is assigned to 0 in function ramoops_register_dummy. This patch make it possible to change mem_type parameter in command line.

Re: [PATCH] ramoops: make it possible to change mem_type param.

2015-03-30 Thread long.wanglong
On 2015/3/31 0:31, Tony Lindgren wrote: * Wang Long long.wangl...@huawei.com [150327 02:43]: If we set ramoops.mem_type=1 in command line, the current code can not change mem_type to 1, because it is assigned to 0 in function ramoops_register_dummy. This patch make it possible to change

[PATCH] ramoops: make it possible to change mem_type param.

2015-03-27 Thread Wang Long
If we set ramoops.mem_type=1 in command line, the current code can not change mem_type to 1, because it is assigned to 0 in function ramoops_register_dummy. This patch make it possible to change mem_type parameter in command line. Signed-off-by: Wang Long --- fs/pstore/ram.c | 4 ++-- 1 file

[PATCH] ramoops: make it possible to change mem_type param.

2015-03-27 Thread Wang Long
If we set ramoops.mem_type=1 in command line, the current code can not change mem_type to 1, because it is assigned to 0 in function ramoops_register_dummy. This patch make it possible to change mem_type parameter in command line. Signed-off-by: Wang Long long.wangl...@huawei.com ---