Re: [PATCH] clk: qcom: Fix a possible NULL pointer dereferencing

2017-01-05 Thread Vivek Gautam
Hi, On 01/06/2017 04:09 AM, Stephen Boyd wrote: On 01/05, Vivek Gautam wrote: On 01/05/2017 07:50 PM, Andy Gross wrote: On Thu, Jan 05, 2017 at 02:25:25PM +0530, Vivek Gautam wrote: Assign num_parents as 0 while registering fixed rate clocks in _qcom_cc_register_board_clk(), to make sure the

Re: [PATCH] clk: qcom: Fix a possible NULL pointer dereferencing

2017-01-05 Thread Stephen Boyd
On 01/05, Vivek Gautam wrote: > > On 01/05/2017 07:50 PM, Andy Gross wrote: > >On Thu, Jan 05, 2017 at 02:25:25PM +0530, Vivek Gautam wrote: > >>Assign num_parents as 0 while registering fixed rate clocks > >>in _qcom_cc_register_board_clk(), to make sure the clk framework > >>doesn't dereference

Re: [PATCH] clk: qcom: Fix a possible NULL pointer dereferencing

2017-01-05 Thread Vivek Gautam
On 01/05/2017 07:50 PM, Andy Gross wrote: On Thu, Jan 05, 2017 at 02:25:25PM +0530, Vivek Gautam wrote: Assign num_parents as 0 while registering fixed rate clocks in _qcom_cc_register_board_clk(), to make sure the clk framework doesn't dereference parent. Fixes: ee15faffef11 ("clk: qcom: comm

Re: [PATCH] clk: qcom: Fix a possible NULL pointer dereferencing

2017-01-05 Thread Andy Gross
On Thu, Jan 05, 2017 at 02:25:25PM +0530, Vivek Gautam wrote: > Assign num_parents as 0 while registering fixed rate clocks > in _qcom_cc_register_board_clk(), to make sure the clk framework > doesn't dereference parent. > > Fixes: ee15faffef11 ("clk: qcom: common: Add API to register board clocks

[PATCH] clk: qcom: Fix a possible NULL pointer dereferencing

2017-01-05 Thread Vivek Gautam
Assign num_parents as 0 while registering fixed rate clocks in _qcom_cc_register_board_clk(), to make sure the clk framework doesn't dereference parent. Fixes: ee15faffef11 ("clk: qcom: common: Add API to register board clocks backwards compatibly") Cc: Georgi Djakov Signed-off-by: Vivek Gautam