diff options
| author | Yang Yingliang <[email protected]> | 2021-06-03 05:10:14 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-06-03 05:48:19 +0000 |
| commit | d1ce245fe409241ed6168c835a5b55ef52bdb6a9 (patch) | |
| tree | 6318263c9cde18111317c0806131e316716eac8d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | phy: ralink: phy-mt7621-pci: drop 'of_match_ptr' to fix -Wunused-const-variable (diff) | |
| download | kernel-d1ce245fe409241ed6168c835a5b55ef52bdb6a9.tar.gz kernel-d1ce245fe409241ed6168c835a5b55ef52bdb6a9.zip | |
phy: Sparx5 Eth SerDes: 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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
