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:
628ef02
)
power: max8925: Fix NULL ptr dereference on memory allocation failure
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 16 Sep 2014 16:10:40 +0000
(18:10 +0200)
committer
Sebastian Reichel
<sre@kernel.org>
Wed, 24 Sep 2014 23:36:42 +0000
(
01:36
+0200)
Check the return value of devm_kzalloc() to fix possible NULL pointer
dereference and properly exit the probe() on memory allocation failure.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
No differences found