[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] drivers/exynos4210: Return -ENOMEM when ioremap has failed
Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> --- xen/drivers/char/exynos4210-uart.c | 1 + 1 file changed, 1 insertion(+) 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 ) -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |