[Xen-devel] [PATCH 3/9] kexec: add infrastructure for handling kexec images
Don Slutz
dslutz at verizon.com
Thu Nov 7 18:51:41 EST 2013
Sigh, my build just stopped.
kimage.c: In function 'kimage_crash_alloc':
kimage.c:222:9: error: unused variable 'result' [-Werror=unused-variable]
cc1: all warnings being treated as errors
A late change from v9 to v10 missed the removal of this variable.
Here is what I did to fix:
From 09587856fa36ae38a500e218979f7111cb4546f4 Mon Sep 17 00:00:00 2001
From: Don Slutz <dslutz at verizon.com>
Date: Thu, 7 Nov 2013 18:46:23 -0500
Subject: [PATCH] kexec: remove result.
kimage.c: In function 'kimage_crash_alloc':
kimage.c:222:9: error: unused variable 'result' [-Werror=unused-variable]
cc1: all warnings being treated as errors
Signed-off-by: Don Slutz <dslutz at verizon.com>
---
xen/common/kimage.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/xen/common/kimage.c b/xen/common/kimage.c
index 10fb785..5c3e3b3 100644
--- a/xen/common/kimage.c
+++ b/xen/common/kimage.c
@@ -219,7 +219,6 @@ static int kimage_crash_alloc(struct kexec_image **rimage, p
addr_t entry,
xen_kexec_segment_t *segments)
{
unsigned long i;
- int result;
/* Verify we have a valid entry point */
if ( (entry < kexec_crash_area.start)
--
1.7.1
-Don Slutz
On 11/07/13 15:40, Don Slutz wrote:
> For what it is worth.
>
> Reviewed-by: Don Slutz <dslutz at verizon.com>
> -Don Slutz
>
> On 11/06/13 09:49, David Vrabel wrote:
>> From: David Vrabel <david.vrabel at citrix.com>
>>
>> Add the code needed to handle and load kexec images into Xen memory or
>> into the crash region. This is needed for the new KEXEC_CMD_load and
>> KEXEC_CMD_unload hypercall sub-ops.
>>
[...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kexec-remove-result.patch
Type: text/x-patch
Size: 915 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20131107/52db5b89/attachment.bin>
More information about the kexec
mailing list