KVM: kvm_is_visible_gfn can be boolean
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Sat, 14 Nov 2015 03:21:06 +0000 (11:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Nov 2015 16:24:23 +0000 (17:24 +0100)
commit33e941547923283f7f1022f3c35359ea9403d9a4
treed1e245cfa1dc1bb0091520c3478188a527096e2c
parent4f52696a6c4d9b1449c462546f1318935c6973db
KVM: kvm_is_visible_gfn can be boolean

This patch makes kvm_is_visible_gfn return bool due to this particular
function only using either one or zero as its return value.

No functional change.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c