summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-06-09 16:25:15 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-10 01:24:43 +0300
commitdb8f7be1e1d64fbf113a456ef94534fbf5e9a9af (patch)
tree574459e556504bb8fc562d87b53930e8a7ad31ff /tools/perf/scripts/python/syscall-counts.py
parentdaf6e8c9caa0955e8d190a606b1bacf9a903d3c1 (diff)
downloadlinux-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