Re: [PATCH 1/8] KVM: x86: return bool from kvm_apic_match*()

2015-01-30 Thread Paolo Bonzini
On 29/01/2015 23:10, Joe Perches wrote: > On Thu, 2015-01-29 at 22:48 +0100, Radim Krčmář wrote: >> And don't export the internal ones while at it. > [] >> -int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda) >> +static bool kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda

Re: [PATCH 1/8] KVM: x86: return bool from kvm_apic_match*()

2015-01-29 Thread Joe Perches
On Thu, 2015-01-29 at 22:48 +0100, Radim Krčmář wrote: > And don't export the internal ones while at it. [] > -int kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda) > +static bool kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda) > { > int result = 0; > u32 logica

[PATCH 1/8] KVM: x86: return bool from kvm_apic_match*()

2015-01-29 Thread Radim Krčmář
And don't export the internal ones while at it. Signed-off-by: Radim Krčmář --- arch/x86/kvm/ioapic.h | 2 +- arch/x86/kvm/lapic.c | 8 arch/x86/kvm/lapic.h | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/ioapic.h b/arch/x86/kvm/ioapic.h index 3c919