diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-07 08:08:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 10:28:19 -0700 |
| commit | 479ffa4481d1a6ab94acfdef021687c8129b4205 (patch) | |
| tree | b218f957a6e68018af586d5ab53e0dcd10f49902 /include/linux | |
| parent | 0253b3bff10fb9e5464efdc47e27272b47ad40b7 (diff) | |
clk: vexpress: NULL dereference on error path
commit 6b4ed8b00e93bd31f24a25f59ed8d1b808d0cc00 upstream.
If the allocation fails then we dereference the NULL in the error path.
Just return directly.
Fixes: ed27ff1db869 ('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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
