Re: [patch] clk: st: NULL dereference on error in st_of_clkgen_vcc_setup()

2014-04-07 Thread Gabriel Fernandez
Thanks Dan, i m agree with patch. Best Regards. Gabriel On 04/07/2014 08:30 AM, Dan Carpenter wrote: There are two allocations where, if they fail, then we end up dereferencing the NULL pointer in the error handling code. Fixes: 94885faf9dbc ('clk: st: Support for DIVMUX and PreDiv Clocks') S

[patch] clk: st: NULL dereference on error in st_of_clkgen_vcc_setup()

2014-04-06 Thread Dan Carpenter
There are two allocations where, if they fail, then we end up dereferencing the NULL pointer in the error handling code. Fixes: 94885faf9dbc ('clk: st: Support for DIVMUX and PreDiv Clocks') Signed-off-by: Dan Carpenter diff --git a/drivers/clk/st/clkgen-mux.c b/drivers/clk/st/clkgen-mux.c index