summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-06-09 21:25:15 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-09 15:24:43 -0700
commitdb8f7be1e1d64fbf113a456ef94534fbf5e9a9af (patch)
tree574459e556504bb8fc562d87b53930e8a7ad31ff /scripts/gdb/linux/utils.py
parentdaf6e8c9caa0955e8d190a606b1bacf9a903d3c1 (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 <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions