diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2021-06-09 16:25:15 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-10 01:24:43 +0300 |
| commit | db8f7be1e1d64fbf113a456ef94534fbf5e9a9af (patch) | |
| tree | 574459e556504bb8fc562d87b53930e8a7ad31ff /tools/perf/scripts/python/syscall-counts.py | |
| parent | daf6e8c9caa0955e8d190a606b1bacf9a903d3c1 (diff) | |
| download | linux-db8f7be1e1d64fbf113a456ef94534fbf5e9a9af.tar.xz | |
net: sgi: ioc3-eth: 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 <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
