Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-12-05 Thread Chunyan Zhang
On 6 December 2017 at 07:28, Stephen Boyd wrote: > On 11/21, Chunyan Zhang wrote: >> On 21 November 2017 at 16:57, Chunyan Zhang wrote: >> > On 21 November 2017 at 03:12, Stephen Boyd wrote: >> >> On 11/20, Chunyan Zhang wrote:

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-12-05 Thread Chunyan Zhang
On 6 December 2017 at 07:28, Stephen Boyd wrote: > On 11/21, Chunyan Zhang wrote: >> On 21 November 2017 at 16:57, Chunyan Zhang wrote: >> > On 21 November 2017 at 03:12, Stephen Boyd wrote: >> >> On 11/20, Chunyan Zhang wrote: >> >>> From: Cai Li >> >>> >> >>> In some cases the clock parent

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-12-05 Thread Stephen Boyd
On 11/21, Chunyan Zhang wrote: > On 21 November 2017 at 16:57, Chunyan Zhang wrote: > > On 21 November 2017 at 03:12, Stephen Boyd wrote: > >> On 11/20, Chunyan Zhang wrote: > >>> From: Cai Li > >>> > >>> In some cases the clock

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-12-05 Thread Stephen Boyd
On 11/21, Chunyan Zhang wrote: > On 21 November 2017 at 16:57, Chunyan Zhang wrote: > > On 21 November 2017 at 03:12, Stephen Boyd wrote: > >> On 11/20, Chunyan Zhang wrote: > >>> From: Cai Li > >>> > >>> In some cases the clock parent would be set NULL when doing re-parent, > >>> it will cause

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
On 21 November 2017 at 16:57, Chunyan Zhang wrote: > On 21 November 2017 at 03:12, Stephen Boyd wrote: >> On 11/20, Chunyan Zhang wrote: >>> From: Cai Li >>> >>> In some cases the clock parent would be set NULL when doing

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
On 21 November 2017 at 16:57, Chunyan Zhang wrote: > On 21 November 2017 at 03:12, Stephen Boyd wrote: >> On 11/20, Chunyan Zhang wrote: >>> From: Cai Li >>> >>> In some cases the clock parent would be set NULL when doing re-parent, >>> it will cause a NULL pointer accessing if clk_set trace

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
On 21 November 2017 at 03:12, Stephen Boyd wrote: > On 11/20, Chunyan Zhang wrote: >> From: Cai Li >> >> In some cases the clock parent would be set NULL when doing re-parent, >> it will cause a NULL pointer accessing if clk_set trace event is

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-21 Thread Chunyan Zhang
On 21 November 2017 at 03:12, Stephen Boyd wrote: > On 11/20, Chunyan Zhang wrote: >> From: Cai Li >> >> In some cases the clock parent would be set NULL when doing re-parent, >> it will cause a NULL pointer accessing if clk_set trace event is enabled, >> since the trace event function would not

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-20 Thread Stephen Boyd
On 11/20, Chunyan Zhang wrote: > From: Cai Li > > In some cases the clock parent would be set NULL when doing re-parent, > it will cause a NULL pointer accessing if clk_set trace event is enabled, > since the trace event function would not check the input parameter. > >

Re: [PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-20 Thread Stephen Boyd
On 11/20, Chunyan Zhang wrote: > From: Cai Li > > In some cases the clock parent would be set NULL when doing re-parent, > it will cause a NULL pointer accessing if clk_set trace event is enabled, > since the trace event function would not check the input parameter. > > Signed-off-by: Cai Li >

[PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-19 Thread Chunyan Zhang
From: Cai Li In some cases the clock parent would be set NULL when doing re-parent, it will cause a NULL pointer accessing if clk_set trace event is enabled, since the trace event function would not check the input parameter. Signed-off-by: Cai Li

[PATCH] clk: fix a panic error caused by accessing NULL pointer

2017-11-19 Thread Chunyan Zhang
From: Cai Li In some cases the clock parent would be set NULL when doing re-parent, it will cause a NULL pointer accessing if clk_set trace event is enabled, since the trace event function would not check the input parameter. Signed-off-by: Cai Li Signed-off-by: Chunyan Zhang ---