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-ppc-devel

[XenPPC] [xenppc-unstable] [POWERPC][XEN] Fix uninitialized variable war

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [POWERPC][XEN] Fix uninitialized variable warning.
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jan 2007 16:30:15 +0000
Delivery-date: Tue, 23 Jan 2007 08:41:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID ea0c006faab68d2c2a65750c90ec8881f0e0b003
# Parent  8b7a8c2e0178f326cfef9fa01a5042a52503dacc
[POWERPC][XEN] Fix uninitialized variable warning.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/memory.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 8b7a8c2e0178 -r ea0c006faab6 xen/arch/powerpc/memory.c
--- a/xen/arch/powerpc/memory.c Mon Jan 22 15:52:46 2007 -0500
+++ b/xen/arch/powerpc/memory.c Tue Jan 23 08:54:41 2007 -0600
@@ -120,7 +120,7 @@ void memory_init(module_t *mod, int mcou
 {
     ulong eomem;
     ulong bitmap_start = ~0UL;
-    ulong bitmap_end;
+    ulong bitmap_end = 0;
     ulong bitmap_size;
     ulong xh_pages;
     ulong start;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [POWERPC][XEN] Fix uninitialized variable warning., Xen patchbot-xenppc-unstable <=