diff options
author | Liang He <windhl@126.com> | 2022-07-19 15:49:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-25 12:11:25 +0300 |
commit | b73104bb79a65ccf3abb8df4e5901b01dbcc829b (patch) | |
tree | 38975ac4bd78d9cbf22e97aa6457f4251ba46cf8 /drivers/s390/char | |
parent | a1c08338eb0e114829825d467150374250159338 (diff) | |
download | linux-b73104bb79a65ccf3abb8df4e5901b01dbcc829b.tar.xz |
iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
[ Upstream commit a91eb6803c1c715738682fece095145cbd68fe0b ]
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: d051f28c8807 ("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>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions