diff options
| author | Yang Yingliang <[email protected]> | 2021-06-07 21:38:37 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-07 14:07:22 -0700 |
| commit | 74325bf0104573c6dfce42837139aeef3f34be76 (patch) | |
| tree | 3c6eae205f4b3b7064e30b0b9475bdc84da8b71a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 90fdd89f6cf99213073dd9623f98519c767630d6 (diff) | |
net: bcmgenet: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.
Signed-off-by: Yang Yingliang <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions