git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b208e4
)
mfd: pm8921: Potential NULL dereference in pm8921_remove()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 7 Nov 2013 08:04:20 +0000
(11:04 +0300)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 11 Nov 2013 11:22:19 +0000
(11:22 +0000)
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>
No differences found