diff options
author | Kiran Padwal | 2015-02-11 15:40:50 +0530 |
---|---|---|
committer | Lee Jones | 2015-02-16 17:11:43 +0000 |
commit | 0a65fbf64dad890d9dd60ab1dc0ebdb9fb0a9e33 (patch) | |
tree | 0e4fb8be0b47c357f6cbeddb4a7cfc7de69f43f1 /lib/vsprintf.c | |
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>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions