Skip to content
Commit 6db7bfb4 authored by Liu Xiang's avatar Liu Xiang Committed by Will Deacon
Browse files

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: default avatarLiu Xiang <liuxiang_1999@126.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 54ecb8f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment