[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix uninitialized variable warning.



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1169564081 21600
# Node ID b071a2610abc5b145ba275c6ba0e7ad164c676fb
# Parent  aa00ced0a10acf7facb49625f8d107503a755531
[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 aa00ced0a10a -r b071a2610abc xen/arch/powerpc/memory.c
--- a/xen/arch/powerpc/memory.c Sun Jan 21 08:17:02 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.