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

[Xen-changelog] [linux-2.6.18-xen] [IA64] remove warning.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] remove warning.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 05:51:00 -0700
Delivery-date: Mon, 11 Aug 2008 05:55:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1217233365 -32400
# Node ID ccfec88b3538b2c87eb85d68584313e71e4e887a
# Parent  c4b12c90de0e72ae0611cb6240d0745c965c417f
[IA64] remove warning.

This patch removes the following warning.

> linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c: In function 
> 'efi_initialize_iomem_machine_resources':
> linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c:1185: warning: control reaches end 
> of non-void function

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/kernel/efi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c4b12c90de0e -r ccfec88b3538 arch/ia64/kernel/efi.c
--- a/arch/ia64/kernel/efi.c    Mon Jul 28 10:53:43 2008 +0900
+++ b/arch/ia64/kernel/efi.c    Mon Jul 28 17:22:45 2008 +0900
@@ -1149,7 +1149,7 @@ efi_initialize_resources(void *efi_map_s
 }
 
 #ifdef CONFIG_PROC_IOMEM_MACHINE
-static int
+static void
 efi_initialize_iomem_machine_resources(void)
 {
        unsigned long size;
@@ -1163,7 +1163,7 @@ efi_initialize_iomem_machine_resources(v
        for (size = 1024; 1; size += 1024) {
                memmap_info = kmalloc(size, GFP_KERNEL);
                if (memmap_info == NULL)
-                       return -ENOMEM;
+                       return; /* -ENOMEM, but no way to return error */
 
                memmap.nr_entries = size;
                set_xen_guest_handle(memmap.buffer, memmap_info);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] remove warning., Xen patchbot-linux-2.6.18-xen <=