WSL2-Linux-Kernel/drivers/iommu/arm
Yang Yingliang fb0f1c5eb8 iommu/arm-smmu-v3: check return value after calling platform_get_resource()
[ Upstream commit b131fa8c1d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:36:14 +02:00
..
arm-smmu iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe() 2022-06-14 18:36:14 +02:00
arm-smmu-v3 iommu/arm-smmu-v3: check return value after calling platform_get_resource() 2022-06-14 18:36:14 +02:00
Makefile iommu/arm-smmu: Move Arm SMMU drivers into their own subdirectory 2020-07-27 12:53:10 +01:00