commit | 73e3f1eb51888303389f2dc2219c97ce34ca6db0 | [log] [tgz] |
---|---|---|
author | Kiran Padwal <kiran.padwal@smartplayin.com> | Thu Sep 18 12:57:47 2014 +0530 |
committer | Mark Brown <broonie@kernel.org> | Thu Sep 18 11:14:16 2014 -0700 |
tree | c80f70570e3c496d924bb47a391ec6b20b5e79c1 | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 [diff] |
spi: pl022: Add missing error check for devm_kzalloc 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>