diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2022-04-25 19:45:25 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2022-05-06 16:24:57 +0100 |
| commit | b131fa8c1d2afd05d0b7598621114674289c2fbb (patch) | |
| tree | 0c017e905a58d9555368297f4387ec4763278abe /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe() (diff) | |
| download | linux-b131fa8c1d2afd05d0b7598621114674289c2fbb.tar.gz linux-b131fa8c1d2afd05d0b7598621114674289c2fbb.zip | |
iommu/arm-smmu-v3: 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>
Link: https://lore.kernel.org/r/20220425114525.2651143-1-yangyingliang@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
