diff options
| author | 2022-04-25 19:45:25 +0800 | |
|---|---|---|
| committer | 2022-05-06 16:24:57 +0100 | |
| commit | b131fa8c1d2afd05d0b7598621114674289c2fbb (patch) | |
| tree | 0c017e905a58d9555368297f4387ec4763278abe /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe() (diff) | |
| download | linux-dev-b131fa8c1d2afd05d0b7598621114674289c2fbb.tar.xz linux-dev-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/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
