Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-05 Thread leizhen
On 2014/11/5 21:52, Grant Likely wrote: > On Wed, Nov 5, 2014 at 12:49 AM, leizhen wrote: >> On 2014/11/5 1:03, Bjorn Helgaas wrote: >>> On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely >>> wrote: On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei wrote: > put off

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-05 Thread Grant Likely
On Wed, Nov 5, 2014 at 12:49 AM, leizhen wrote: > On 2014/11/5 1:03, Bjorn Helgaas wrote: >> On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely wrote: >>> On Tue, 28 Oct 2014 19:51:05 +0800 >>> , Zhen Lei >>> wrote: put off initial_boot_params = params; until all checks finished. If any

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-05 Thread Grant Likely
On Wed, Nov 5, 2014 at 12:49 AM, leizhen thunder.leiz...@huawei.com wrote: On 2014/11/5 1:03, Bjorn Helgaas wrote: On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei thunder.leiz...@huawei.com wrote: put off

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-05 Thread leizhen
On 2014/11/5 21:52, Grant Likely wrote: On Wed, Nov 5, 2014 at 12:49 AM, leizhen thunder.leiz...@huawei.com wrote: On 2014/11/5 1:03, Bjorn Helgaas wrote: On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-04 Thread leizhen
On 2014/11/5 1:03, Bjorn Helgaas wrote: > On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely wrote: >> On Tue, 28 Oct 2014 19:51:05 +0800 >> , Zhen Lei >> wrote: >>> put off initial_boot_params = params; until all checks finished. If any >>> check >>> failed, initial_boot_params is equal NULL, base

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-04 Thread Bjorn Helgaas
On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely wrote: > On Tue, 28 Oct 2014 19:51:05 +0800 > , Zhen Lei > wrote: >> put off initial_boot_params = params; until all checks finished. If any check >> failed, initial_boot_params is equal NULL, base upon bss segment initial >> value. >> >>

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-04 Thread Grant Likely
On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei wrote: > put off initial_boot_params = params; until all checks finished. If any check > failed, initial_boot_params is equal NULL, base upon bss segment initial > value. > > Signed-off-by: Zhen Lei Interesting. I received exactly the same patch

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-04 Thread Grant Likely
On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei thunder.leiz...@huawei.com wrote: put off initial_boot_params = params; until all checks finished. If any check failed, initial_boot_params is equal NULL, base upon bss segment initial value. Signed-off-by: Zhen Lei thunder.leiz...@huawei.com

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-04 Thread Bjorn Helgaas
On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei thunder.leiz...@huawei.com wrote: put off initial_boot_params = params; until all checks finished. If any check failed, initial_boot_params is equal NULL, base upon bss

Re: [PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-11-04 Thread leizhen
On 2014/11/5 1:03, Bjorn Helgaas wrote: On Tue, Nov 4, 2014 at 9:20 AM, Grant Likely grant.lik...@linaro.org wrote: On Tue, 28 Oct 2014 19:51:05 +0800 , Zhen Lei thunder.leiz...@huawei.com wrote: put off initial_boot_params = params; until all checks finished. If any check failed,

[PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-10-28 Thread Zhen Lei
put off initial_boot_params = params; until all checks finished. If any check failed, initial_boot_params is equal NULL, base upon bss segment initial value. Signed-off-by: Zhen Lei --- drivers/of/fdt.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 1/1] of/fdt: simplify early_init_dt_verify

2014-10-28 Thread Zhen Lei
put off initial_boot_params = params; until all checks finished. If any check failed, initial_boot_params is equal NULL, base upon bss segment initial value. Signed-off-by: Zhen Lei thunder.leiz...@huawei.com --- drivers/of/fdt.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-)