diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2015-02-11 13:10:50 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-02-16 20:11:43 +0300 |
commit | 0a65fbf64dad890d9dd60ab1dc0ebdb9fb0a9e33 (patch) | |
tree | 0e4fb8be0b47c357f6cbeddb4a7cfc7de69f43f1 /include | |
parent | bb400d2120bd253d73661c452b18485d2d5b42dd (diff) | |
download | linux-0a65fbf64dad890d9dd60ab1dc0ebdb9fb0a9e33.tar.xz |
mfd: intel_soc_pmic: Add missing error check for devm_kzalloc
This patch add a missing check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions