From: Liu Yuan Date: Thu, 21 Apr 2011 06:53:57 +0000 (+0800) Subject: KVM: ioapic: Fix an error field reference X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a38f84ca8c6991925cb8bb6371ade8df9d3cc1e6;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git KVM: ioapic: Fix an error field reference Function ioapic_debug() in the ioapic_deliver() misnames one filed by reference. This patch correct it. Signed-off-by: Liu Yuan Signed-off-by: Avi Kivity --- diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c index 0b9df8303dc..8df1ca104a7 100644 --- a/virt/kvm/ioapic.c +++ b/virt/kvm/ioapic.c @@ -167,7 +167,7 @@ static int ioapic_deliver(struct kvm_ioapic *ioapic, int irq) ioapic_debug("dest=%x dest_mode=%x delivery_mode=%x " "vector=%x trig_mode=%x\n", - entry->fields.dest, entry->fields.dest_mode, + entry->fields.dest_id, entry->fields.dest_mode, entry->fields.delivery_mode, entry->fields.vector, entry->fields.trig_mode);