[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] drivers/exynos4210: Return -ENOMEM when ioremap has failed



commit 7312c21dbd3f5026f087ba72c4e36754f1921762
Author:     Julien Grall <julien.grall@xxxxxxxxxx>
AuthorDate: Wed May 22 12:43:12 2013 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Thu May 23 12:55:17 2013 +0100

    drivers/exynos4210: Return -ENOMEM when ioremap has failed
    
    Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 xen/drivers/char/exynos4210-uart.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xen/drivers/char/exynos4210-uart.c 
b/xen/drivers/char/exynos4210-uart.c
index f151390..f7971da 100644
--- a/xen/drivers/char/exynos4210-uart.c
+++ b/xen/drivers/char/exynos4210-uart.c
@@ -328,6 +328,7 @@ static int __init exynos4210_uart_init(struct 
dt_device_node *dev,
     if ( !uart->regs )
     {
         early_printk("exynos4210: Unable to map the UART memory\n");
+        return -ENOMEM;
     }
     res = dt_device_get_irq(dev, 0, &uart->irq);
     if ( res )
--
generated by git-patchbot for /home/xen/git/xen.git#master

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.