WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Oh gcc4 ....how you complain soo. This patch fixes compi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Jul 2005 05:00:09 -0400
Delivery-date: Wed, 06 Jul 2005 09:00:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID ffb406dfb170d3603f4cd348fa55c5c522e11e79
# Parent  ec3b7c87b5776cce5ae3e9b9d030016dd0d722f1

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@xxxxxxxxx>

diff -r ec3b7c87b577 -r ffb406dfb170 xen/arch/x86/vmx_io.c
--- a/xen/arch/x86/vmx_io.c     Tue Jul  5 16:08:03 2005
+++ b/xen/arch/x86/vmx_io.c     Wed Jul  6 08:46:38 2005
@@ -621,7 +621,7 @@
 
 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;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4, Xen patchbot -unstable <=