* [PATCH] xen/arch/x86/vm-io passing unintialized variable to function
@ 2005-07-05 21:47 Jerone Young
0 siblings, 0 replies; only message in thread
From: Jerone Young @ 2005-07-05 21:47 UTC (permalink / raw)
To: xen-devel
Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
where an unintialized variable is used in a function.
Signed-off-by: Jerone Young <jerone@gmail.com>
--- xen/arch/x86/vmx_io.c.old 2005-07-05 16:44:01.000000000 -0500
+++ xen/arch/x86/vmx_io.c 2005-07-05 16:44:20.000000000 -0500
@@ -621,7 +621,7 @@ static inline int irq_masked(unsigned lo
void vmx_intr_assist(struct vcpu *v)
{
- int intr_type;
+ int intr_type = 0;
int highest_vector = find_highest_pending_irq(v, &intr_type);
unsigned long intr_fields, eflags, interruptibility, cpu_exec_control;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-05 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-05 21:47 [PATCH] xen/arch/x86/vm-io passing unintialized variable to function Jerone Young
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.