commit | 000e1a43d3d2d4541f10be997c1609b69beb22d5 | [log] [tgz] |
---|---|---|
author | Kiran Gunda <kgunda@codeaurora.org> | Fri Jul 28 12:40:45 2017 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 13:51:19 2017 +0200 |
tree | 0dd078ffbf74c6349dce92c8375be3033a788c7d | |
parent | e95d073c8ce397a8e77c36a208be978060bb214f [diff] |
spmi: pmic-arb: fix a possible null pointer dereference If "core" memory resource is not specified, then the driver could end up dereferencing a null pointer. Fix this issue. Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>