diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2021-06-07 22:55:21 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:38 +0200 |
| commit | ca099038d42026865e1030809dba58b04fc1f9e7 (patch) | |
| tree | 44ad85df8f8f2ca7b1b153a9d6cdee66b0fb14c6 /tools/perf/scripts/python | |
| parent | 013642e6bf41621d85fe0e79d8fb240edcc32e80 (diff) | |
net: micrel: check return value after calling platform_get_resource()
[ Upstream commit 20f1932e2282c58cb5ac59517585206cf5b385ae ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
