Files
linux/drivers/clk
Dan Carpenter c4f3c998c1 clk: vexpress: NULL dereference on error path
commit 6b4ed8b00e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 13:25:35 -07:00
..
2013-05-30 18:27:24 -07:00
2013-04-12 11:23:41 -07:00
2013-03-19 17:20:30 -07:00
2012-08-31 11:05:18 -07:00
2013-03-22 15:18:18 -07:00
2012-07-11 15:36:45 -07:00