commit | 0a65fbf64dad890d9dd60ab1dc0ebdb9fb0a9e33 | [log] [tgz] |
---|---|---|
author | Kiran Padwal <kiran.padwal@smartplayin.com> | Wed Feb 11 15:40:50 2015 +0530 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Feb 16 17:11:43 2015 +0000 |
tree | 0e4fb8be0b47c357f6cbeddb4a7cfc7de69f43f1 | |
parent | bb400d2120bd253d73661c452b18485d2d5b42dd [diff] |
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>