]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: vmx: fix coccinelle warnings
authorYi Wang <wang.yi59@zte.com.cn>
Mon, 15 Jul 2019 04:35:17 +0000 (12:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Jul 2019 11:55:34 +0000 (13:55 +0200)
commit1ff2f24d3d833e371f333888112a12cfe1c32a28
tree532ce322736fb1874e5a63406a18a85bafadae88
parent1309d0b313c27b32dcf6d77343ecc2b2e8e70cd1
kvm: vmx: fix coccinelle warnings

This fixes the following coccinelle warning:

WARNING: return of 0/1 in function 'vmx_need_emulation_on_page_fault'
with return type bool

Return false instead of 0.

Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c