]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e698bef42b93cc057b1336dba25fe0dbc104349
tree0a32fae858b6efdd862e4ae2ae722402d73f9933
parent039279f8696d4a76a34a00a9a271f142cbee8b2c
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