commit | 57132f552d3323b9e073b6deb420730dec534b18 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Tue Sep 13 11:10:48 2016 -0700 |
committer | David Collins <collinsd@codeaurora.org> | Fri Jan 13 14:38:17 2017 -0800 |
tree | 07d4082a2070e0c73db2f2ff20863e840f541ca2 | |
parent | 370a4fae32a7651c8a2238372ed20876f1121494 [diff] |
spmi-pmic-arb: fix a possible null pointer dereference If "core" memory resource is not specified, the driver could end up dereferencing a null pointer. Fix this by returning -EINVAL when core resource is missing. Change-Id: Id08f7b2e109b6b2963b19dfe07f07cbfb424202b Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>