|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 20 of 45] gcc-4.6 compile fix: xen/common/kexec.c
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824404 -7200
# Node ID 3317bd7aa9150894d21538700702ddefc19a5b50
# Parent 5516ec1f996e50d65051441e98674ee8cb799a48
gcc-4.6 compile fix: xen/common/kexec.c
kexec.c: In function 'kexec_exec':
kexec.c:566:25: error: variable 'ret' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r 5516ec1f996e -r 3317bd7aa915 xen/common/kexec.c
--- a/xen/common/kexec.c Thu May 19 19:00:03 2011 +0200
+++ b/xen/common/kexec.c Thu May 19 19:00:04 2011 +0200
@@ -588,7 +588,7 @@ static int kexec_exec(XEN_GUEST_HANDLE(v
break;
}
- return -EINVAL; /* never reached */
+ return ret; /* never reached */
}
int do_kexec_op_internal(unsigned long op, XEN_GUEST_HANDLE(void) uarg,
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 11 of 45] gcc-4.6 compile fix: tools/libxl/libxl.c, (continued)
- [Xen-devel] [PATCH 11 of 45] gcc-4.6 compile fix: tools/libxl/libxl.c, Olaf Hering
- [Xen-devel] [PATCH 12 of 45] gcc-4.6 compile fix: tools/libxl/libxl_pci.c, Olaf Hering
- [Xen-devel] [PATCH 13 of 45] gcc-4.6 compile fix: tools/libxl/libxl_dom.c, Olaf Hering
- [Xen-devel] [PATCH 14 of 45] gcc-4.6 compile fix: tools/libxl/libxl_utils.c, Olaf Hering
- [Xen-devel] [PATCH 15 of 45] gcc-4.6 compile fix: tools/debugger/gdbsx/gx/gx_comm.c, Olaf Hering
- [Xen-devel] [PATCH 16 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/checkpoint/libcheckpoint.c, Olaf Hering
- [Xen-devel] [PATCH 17 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/netlink/libnetlink.c, Olaf Hering
- [Xen-devel] [PATCH 18 of 45] gcc-4.6 compile fix: xen/common/cpupool.c, Olaf Hering
- [Xen-devel] [PATCH 19 of 45] gcc-4.6 compile fix: xen/common/grant_table.c, Olaf Hering
- [Xen-devel] [PATCH 20 of 45] gcc-4.6 compile fix: xen/common/kexec.c,
Olaf Hering <=
- [Xen-devel] [PATCH 21 of 45] gcc-4.6 compile fix: xen/common/sched_credit2.c, Olaf Hering
- [Xen-devel] [PATCH 22 of 45] gcc-4.6 compile fix: xen/common/unlzo.c, Olaf Hering
- [Xen-devel] [PATCH 23 of 45] gcc-4.6 compile fix: xen/drivers/passthrough/vtd/intremap.c, Olaf Hering
- [Xen-devel] [PATCH 24 of 45] gcc-4.6 compile fix: xen/arch/x86/msi.c, Olaf Hering
- [Xen-devel] [PATCH 25 of 45] gcc-4.6 compile fix: xen/arch/x86/microcode_amd.c, Olaf Hering
- [Xen-devel] [PATCH 26 of 45] gcc-4.6 compile fix: xen/arch/x86/time.c, Olaf Hering
- [Xen-devel] [PATCH 27 of 45] gcc-4.6 compile fix: xen/arch/x86/acpi/cpu_idle.c, Olaf Hering
- [Xen-devel] [PATCH 28 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/amd.c, Olaf Hering
- [Xen-devel] [PATCH 29 of 45] gcc-4.6 compile fix: xen/arch/x86/cpu/intel.c, Olaf Hering
|
|
|
|
|