Files
kernel_amazon_mt8127-common/drivers/mfd
Dan Carpenter dad5635c15 mfd: pm8921: Potential NULL dereference in pm8921_remove()
commit d6daef95127e41233ac8e2d8472d8c0cd8687d38 upstream.

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: c013f0a56c ('mfd: Add pm8xxx irq support')

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-08 00:47:00 +02:00
..
2013-04-05 11:20:14 +02:00
2013-04-05 11:20:13 +02:00
2013-04-08 17:25:28 +02:00
2013-04-19 00:45:20 +02:00
2013-02-14 00:22:59 +01:00
2013-04-19 18:29:18 +02:00
2013-04-19 18:29:18 +02:00
2013-04-19 18:40:05 +02:00
2013-04-08 17:28:29 +02:00
2013-04-09 12:18:16 +02:00
2013-04-08 17:25:29 +02:00
2013-02-14 00:22:54 +01:00
2013-04-08 17:25:27 +02:00