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:
437a6bc
)
phy: phy-mvebu-sata: Add missing error check for devm_kzalloc
author
Peter Griffin
<peter.griffin@linaro.org>
Fri, 15 Aug 2014 12:40:09 +0000
(13:40 +0100)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Wed, 24 Sep 2014 09:48:31 +0000
(15:18 +0530)
Currently this driver is missing a check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.
This patch adds the aformentioned missing check.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
No differences found