summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/io-pgtable-arm.c
diff options
context:
space:
mode:
authorLiu Xiang <liuxiang_1999@126.com>2019-09-16 15:53:00 +0200
committerWill Deacon <will@kernel.org>2019-10-01 13:13:16 +0200
commit6db7bfb431220d78e34d2d0afdb7c12683323588 (patch)
treede27615399d325ff46a3d8f7f762bf334e187bd3 /drivers/iommu/io-pgtable-arm.c
parentLinux 5.4-rc1 (diff)
downloadlinux-6db7bfb431220d78e34d2d0afdb7c12683323588.tar.xz
linux-6db7bfb431220d78e34d2d0afdb7c12683323588.zip
iommu/arm-smmu: Free context bitmap in the err path of arm_smmu_init_domain_context
When alloc_io_pgtable_ops is failed, context bitmap which is just allocated by __arm_smmu_alloc_bitmap should be freed to release the resource. Signed-off-by: Liu Xiang <liuxiang_1999@126.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm.c')
0 files changed, 0 insertions, 0 deletions