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

[Xen-devel] [PATCH] properly propagate error return value from elf_xen_p

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] properly propagate error return value from elf_xen_parse()
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Thu, 15 Feb 2007 14:22:46 +0000
Delivery-date: Thu, 15 Feb 2007 06:21:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: 2007-02-07/xen/arch/x86/domain_build.c
===================================================================
--- 2007-02-07.orig/xen/arch/x86/domain_build.c 2007-02-07 16:27:53.000000000 
+0100
+++ 2007-02-07/xen/arch/x86/domain_build.c      2007-02-09 14:00:41.000000000 
+0100
@@ -268,7 +268,7 @@ int construct_dom0(struct domain *d,
     elf_set_verbose(&elf);
 #endif
     elf_parse_binary(&elf);
-    if (0 != (elf_xen_parse(&elf, &parms)))
+    if (0 != (rc = elf_xen_parse(&elf, &parms)))
         return rc;
 
     /* compatibility check */


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] properly propagate error return value from elf_xen_parse(), Jan Beulich <=