diff options
author | Kiran Padwal | 2014-09-18 09:27:47 +0200 |
---|---|---|
committer | Mark Brown | 2014-09-18 20:14:16 +0200 |
commit | 73e3f1eb51888303389f2dc2219c97ce34ca6db0 (patch) | |
tree | c80f70570e3c496d924bb47a391ec6b20b5e79c1 /include | |
parent | Linux 3.17-rc1 (diff) | |
download | kernel-qcow2-linux-73e3f1eb51888303389f2dc2219c97ce34ca6db0.tar.gz kernel-qcow2-linux-73e3f1eb51888303389f2dc2219c97ce34ca6db0.tar.xz kernel-qcow2-linux-73e3f1eb51888303389f2dc2219c97ce34ca6db0.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions