Skip to content
Commit 53f61313 authored by Yang Yingliang's avatar Yang Yingliang Committed by Joerg Roedel
Browse files

iommu/arm-smmu: Fix missing unlock on error in arm_smmu_device_group()



Add the missing unlock before return from function arm_smmu_device_group()
in the error handling case.

Fixes: b1a13479 ("iommu/arm-smmu: Fix race condition during iommu_group creation")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210820074949.1946576-1-yangyingliang@huawei.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent af1d321c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment