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

[Xen-changelog] [xen-unstable] x86: bzimage_headroom does not return -ve error codes.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1233191790 0
# Node ID 1bd06ed9369d5ebc196f893661921948d9965211
# Parent  3449d8e50fb92c1477feab5e8703c8ddf6f08596
x86: bzimage_headroom does not return -ve error codes.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/bzimage.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 3449d8e50fb9 -r 1bd06ed9369d xen/arch/x86/bzimage.c
--- a/xen/arch/x86/bzimage.c    Thu Jan 29 01:11:50 2009 +0000
+++ b/xen/arch/x86/bzimage.c    Thu Jan 29 01:16:30 2009 +0000
@@ -185,7 +185,7 @@ static __init int bzimage_check(struct s
     if ( hdr->version < VERSION(2,8) ) {
         printk("Cannot load bzImage v%d.%02d at least v2.08 is required\n",
            hdr->version >> 8, hdr->version & 0xff);
-        return -EINVAL;
+        return 0;
     }
     return 1;
 }

_______________________________________________
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®.