linux/drivers/iommu/arm
Liang He fac821e8ed iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
[ Upstream commit a91eb6803c ]

In qcom_iommu_has_secure_context(), we should call of_node_put()
for the reference 'child' when breaking out of for_each_child_of_node()
which will automatically increase and decrease the refcount.

Fixes: d051f28c88 ("iommu/qcom: Initialize secure page table")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220719124955.1242171-1-windhl@126.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-08-17 15:15:55 +02:00
..
arm-smmu iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop 2022-08-17 15:15:55 +02:00
arm-smmu-v3 iommu/arm-smmu-v3-sva: Fix mm use-after-free 2022-05-06 16:25:39 +01:00
Makefile iommu/arm-smmu: Move Arm SMMU drivers into their own subdirectory 2020-07-27 12:53:10 +01:00