drivers/exynos4210: Return -ENOMEM when ioremap has failed
PATCH 1/1 drivers/exynos4210: Return -ENOMEM when ioremap has failed
Signed-off-by Julien Grall <[email protected]>
--- xen/drivers/char/exynos4210-uart.c | 1 + 1 file changed, 1 insertion(+)
xen/drivers/char/exynos4210-uart.c +1 -0
@@ -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 )
Signature · 1 line
1.7.10.4
Quoted 1 line · Julien Grall
Signed-off-by Julien Grall <[email protected]>
Acked + applied, thanks.