diff options
author | Liang He <[email protected]> | 2022-07-19 20:49:55 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-07-19 18:30:32 +0100 |
commit | a91eb6803c1c715738682fece095145cbd68fe0b (patch) | |
tree | ca830ca76e1087cd6b62ceb65c5eb8a9068c82ff /tools/perf/util/trace-event-scripting.c | |
parent | ef660de424cf06eab262a055b18cdf704aaf5fb1 (diff) |
iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions