summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDan Carpenter2013-11-07 09:04:20 +0100
committerLee Jones2013-11-11 12:22:19 +0100
commitd6daef95127e41233ac8e2d8472d8c0cd8687d38 (patch)
tree6c7794b5eaced7e3d7d3d1f092d5574917ace27f /Documentation
parentmfd: Fix memory leak in mfd_add_devices() (diff)
downloadkernel-qcow2-linux-d6daef95127e41233ac8e2d8472d8c0cd8687d38.tar.gz
kernel-qcow2-linux-d6daef95127e41233ac8e2d8472d8c0cd8687d38.tar.xz
kernel-qcow2-linux-d6daef95127e41233ac8e2d8472d8c0cd8687d38.zip
mfd: pm8921: Potential NULL dereference in pm8921_remove()
We assume that "pmic" could be NULL and then dereference it two lines later. I fix this by moving the dereference inside the NULL check. Fixes: c013f0a56c56 ('mfd: Add pm8xxx irq support') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions