kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kvm, ioapic: Fix an error field reference
@ 2011-04-21  6:53 Liu Yuan
  2011-04-21  8:22 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Yuan @ 2011-04-21  6:53 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: kvm, linux-kernel

From: Liu Yuan <tailai.ly@taobao.com>

Function ioapic_debug() in the ioapic_deliver() misnames
one filed by reference. This patch correct it.

Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
---
 virt/kvm/ioapic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c
index 0b9df83..8df1ca1 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);
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm, ioapic: Fix an error field reference
  2011-04-21  6:53 [PATCH] kvm, ioapic: Fix an error field reference Liu Yuan
@ 2011-04-21  8:22 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-04-21  8:22 UTC (permalink / raw)
  To: Liu Yuan; +Cc: Marcelo Tosatti, kvm, linux-kernel

On 04/21/2011 09:53 AM, Liu Yuan wrote:
> From: Liu Yuan<tailai.ly@taobao.com>
>
> Function ioapic_debug() in the ioapic_deliver() misnames
> one filed by reference. This patch correct it.

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-21  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21  6:53 [PATCH] kvm, ioapic: Fix an error field reference Liu Yuan
2011-04-21  8:22 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).