xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/exynos4210: Return -ENOMEM when ioremap has failed
@ 2013-05-22 11:43 Julien Grall
  2013-05-23 13:23 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Grall @ 2013-05-22 11:43 UTC (permalink / raw)
  To: xen-devel; +Cc: patches, ian.campbell, Julien Grall, Stefano.Stabellini

Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers/exynos4210: Return -ENOMEM when ioremap has failed
  2013-05-22 11:43 [PATCH] drivers/exynos4210: Return -ENOMEM when ioremap has failed Julien Grall
@ 2013-05-23 13:23 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2013-05-23 13:23 UTC (permalink / raw)
  To: Julien Grall; +Cc: Stefano.Stabellini, patches, xen-devel

On Wed, 2013-05-22 at 12:43 +0100, Julien Grall wrote:
> Signed-off-by: Julien Grall <julien.grall@linaro.org>

Acked + applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-23 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 11:43 [PATCH] drivers/exynos4210: Return -ENOMEM when ioremap has failed Julien Grall
2013-05-23 13:23 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).