arm/arm64: KVM: fix missing unlock on error in kvm_vgic_create()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 27 Feb 2015 11:41:45 +0000 (19:41 +0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 13 Mar 2015 10:40:57 +0000 (11:40 +0100)
commitb52104e509479c4709eb9d81642df77c5ef2716b
tree0a32fae858b6efdd862e4ae2ae722402d73f9933
parent84ed7412b5eee1011579b3db7454b9cb6d26fa65
arm/arm64: KVM: fix missing unlock on error in kvm_vgic_create()

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c