diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-29 01:16:30 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-29 01:16:30 +0000 |
commit | dc064d77d87d3024da2dab804e9b63871916ae3d (patch) | |
tree | 6a26029740c355a8ce970f4e21da3da47df0fd4d /xen/arch/x86/bzimage.c | |
parent | c517f5a48c3c746fa439c521efd20185cfe539ee (diff) | |
download | xen-dc064d77d87d3024da2dab804e9b63871916ae3d.tar.gz xen-dc064d77d87d3024da2dab804e9b63871916ae3d.tar.bz2 xen-dc064d77d87d3024da2dab804e9b63871916ae3d.zip |
x86: bzimage_headroom does not return -ve error codes.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/bzimage.c')
-rw-r--r-- | xen/arch/x86/bzimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/bzimage.c b/xen/arch/x86/bzimage.c index e1b45a7561..f432c9e115 100644 --- a/xen/arch/x86/bzimage.c +++ b/xen/arch/x86/bzimage.c @@ -185,7 +185,7 @@ static __init int bzimage_check(struct setup_header *hdr, unsigned long len) 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; } |