diff options
author | Yang Yingliang <[email protected]> | 2021-06-09 21:25:15 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-09 15:24:43 -0700 |
commit | db8f7be1e1d64fbf113a456ef94534fbf5e9a9af (patch) | |
tree | 574459e556504bb8fc562d87b53930e8a7ad31ff /tools/perf/scripts/python/sched-migration.py | |
parent | daf6e8c9caa0955e8d190a606b1bacf9a903d3c1 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions