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] Fix __ioremap() paravirtualiza

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Fix __ioremap() paravirtualization.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Sep 2007 15:31:03 -0700
Delivery-date: Tue, 11 Sep 2007 15:36:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1187903920 21600
# Node ID 057b47cada5c42a934c320f95863af2a6f031522
# Parent  ec6f71d1b3351faebbfb0345ca0ccfc3a52b5d7c
[IA64] Fix __ioremap() paravirtualization.

__ioremap() should return NULL when error.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 arch/ia64/mm/ioremap.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ec6f71d1b335 -r 057b47cada5c arch/ia64/mm/ioremap.c
--- a/arch/ia64/mm/ioremap.c    Wed Aug 22 08:09:20 2007 -0600
+++ b/arch/ia64/mm/ioremap.c    Thu Aug 23 15:18:40 2007 -0600
@@ -18,7 +18,7 @@ __ioremap (unsigned long offset, unsigne
 {
        offset = HYPERVISOR_ioremap(offset, size);
        if (IS_ERR_VALUE(offset))
-               return (void __iomem*)offset;
+               return NULL;
        return (void __iomem *) (__IA64_UNCACHED_OFFSET | offset);
 }
 

_______________________________________________
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] Fix __ioremap() paravirtualization., Xen patchbot-linux-2.6.18-xen <=