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:
7d1311b
)
spi: pl022: Add missing error check for devm_kzalloc
author
Kiran Padwal
<kiran.padwal@smartplayin.com>
Thu, 18 Sep 2014 07:27:47 +0000
(12:57 +0530)
committer
Mark Brown
<broonie@kernel.org>
Thu, 18 Sep 2014 18:14:16 +0000
(11:14 -0700)
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 a missing check.
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
No differences found