]> 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)
commit5d3a8797b7ce88e1185d14551cfb6ff91a7e8b72
tree0a32fae858b6efdd862e4ae2ae722402d73f9933
parent421ba64c9d5f7b3faaab6d4b496df030caf9c422
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