OpenCloudOS-Kernel/drivers/clk/versatile
Dan Carpenter 6b4ed8b00e clk: vexpress: NULL dereference on error path
If the allocation fails then we dereference the NULL in the error path.
Just return directly.

Fixes: ed27ff1db8 ('clk: Versatile Express clock generators ("osc") driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
2014-04-24 11:39:06 +01:00
..
Makefile clk: vexpress: Add separate SP810 driver 2013-04-18 11:41:10 -07:00
clk-icst.c clk: versatile: respect parent rate in ICST clock 2014-02-13 11:20:55 +01:00
clk-icst.h clk: versatile: pass a parent to the ICST clock 2014-02-13 11:20:48 +01:00
clk-impd1.c ARM: integrator: localize the impd1.h header 2014-02-26 13:49:06 +01:00
clk-integrator.c clk: versatile: respect parent rate in ICST clock 2014-02-13 11:20:55 +01:00
clk-realview.c clk: versatile: pass a parent to the ICST clock 2014-02-13 11:20:48 +01:00
clk-sp810.c clk: versatile: Staticize clk_sp810_timerclken_of_get 2013-12-19 17:47:32 -08:00
clk-vexpress-osc.c clk: vexpress: NULL dereference on error path 2014-04-24 11:39:06 +01:00
clk-vexpress.c clk: add CLK_SET_RATE_NO_REPARENT flag 2013-08-19 12:27:17 -07:00