aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 683345a121b7..6c8460308548 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -834,7 +834,7 @@ static int apic_mmio_write(struct kvm_io_device *this,
834 if (len != 4 || (offset & 0xf)) { 834 if (len != 4 || (offset & 0xf)) {
835 /* Don't shout loud, $infamous_os would cause only noise. */ 835 /* Don't shout loud, $infamous_os would cause only noise. */
836 apic_debug("apic write: bad size=%d %lx\n", len, (long)address); 836 apic_debug("apic write: bad size=%d %lx\n", len, (long)address);
837 return; 837 return 0;
838 } 838 }
839 839
840 val = *(u32*)data; 840 val = *(u32*)data;