diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-07-05 07:50:54 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-09-05 09:46:00 +0200 |
commit | 2042f3c29f2f11129434de8a610878e8a15b4174 (patch) | |
tree | 75fe955c2a9a9298794cb9e5d672301a4ece2386 /Documentation/auxdisplay | |
parent | mfd: max8925-i2c: Drop unnecessary static (diff) | |
download | linux-2042f3c29f2f11129434de8a610878e8a15b4174.tar.xz linux-2042f3c29f2f11129434de8a610878e8a15b4174.zip |
mfd: max8998: Fix potential NULL pointer dereference
if 'max8998_i2c_parse_dt_pdata() fails (when out of memory), a NULL
pointer dereference will occur in the error handling code.
Return directly instead.
Fixes: ee999fb3f17f("mfd: max8998: Add support for Device Tree")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions