diff options
author | Kiran Gunda <kgunda@codeaurora.org> | 2017-07-28 12:40:45 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 13:51:19 +0200 |
commit | 000e1a43d3d2d4541f10be997c1609b69beb22d5 (patch) | |
tree | 0dd078ffbf74c6349dce92c8375be3033a788c7d /drivers/leds/leds-net48xx.c | |
parent | e95d073c8ce397a8e77c36a208be978060bb214f (diff) | |
download | linux-stable-000e1a43d3d2d4541f10be997c1609b69beb22d5.tar.gz linux-stable-000e1a43d3d2d4541f10be997c1609b69beb22d5.tar.bz2 linux-stable-000e1a43d3d2d4541f10be997c1609b69beb22d5.zip |
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>
Diffstat (limited to 'drivers/leds/leds-net48xx.c')
0 files changed, 0 insertions, 0 deletions