# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1187841884 -32400 # Node ID 0fd07c0d81649d8aa561cc741ebd0b1dc34b329a # Parent 514f1ea0a16783ccc9832d340f22b49eebda987c fix __ioremap() paravirtualization. __ioremap() should return NULL when error. PATCHNAME: fix_ioremap_null Signed-off-by: Isaku Yamahata diff -r 514f1ea0a167 -r 0fd07c0d8164 arch/ia64/mm/ioremap.c --- a/arch/ia64/mm/ioremap.c Tue Aug 21 12:14:28 2007 +0900 +++ b/arch/ia64/mm/ioremap.c Thu Aug 23 13:04:44 2007 +0900 @@ -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); }