git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a798c10
)
clk: vexpress: NULL dereference on error path
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 7 Nov 2013 08:08:44 +0000
(08:08 +0000)
committer
Pawel Moll
<pawel.moll@arm.com>
Thu, 24 Apr 2014 10:39:06 +0000
(11:39 +0100)
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>
drivers/clk/versatile/clk-vexpress-osc.c
patch
|
blob
|
history
diff --cc
drivers/clk/versatile/clk-vexpress-osc.c
Simple merge