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 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | spmi: pmic-arb: return __iomem pointer instead of offset (diff) | |
| download | linux-000e1a43d3d2d4541f10be997c1609b69beb22d5.tar.gz linux-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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
