linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed.
@ 2012-03-08 22:47 soniccat.liu
  2012-03-12 16:09 ` Timur Tabi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: soniccat.liu @ 2012-03-08 22:47 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Liu Shuo, timur

From: Liu Shuo <soniccat.liu@gmail.com>

Signed-off-by: Liu Shuo <soniccat.liu@gmail.com>
---
 arch/powerpc/sysdev/fsl_msi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index ecb5c19..0bab156 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b/arch/powerpc/sysdev/fsl_msi.c
@@ -410,6 +410,7 @@ static int __devinit fsl_of_msi_probe(struct platform_device *dev)
 
 		msi->msi_regs = ioremap(res.start, resource_size(&res));
 		if (!msi->msi_regs) {
+			err = -ENOMEM;
 			dev_err(&dev->dev, "could not map node %s\n",
 				dev->dev.of_node->full_name);
 			goto error_out;
-- 
1.7.4.1

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

* Re: [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed.
  2012-03-08 22:47 [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed soniccat.liu
@ 2012-03-12 16:09 ` Timur Tabi
  2012-03-16 15:14 ` Kumar Gala
  2012-03-16 15:24 ` Kumar Gala
  2 siblings, 0 replies; 4+ messages in thread
From: Timur Tabi @ 2012-03-12 16:09 UTC (permalink / raw)
  To: soniccat.liu; +Cc: linuxppc-dev

soniccat.liu@gmail.com wrote:
> From: Liu Shuo <soniccat.liu@gmail.com>
> 
> Signed-off-by: Liu Shuo <soniccat.liu@gmail.com>

Acked-by: Timur Tabi <timur@freescale.com>

This is not a critical fix for 3.3, but it should probably be applied to
3.3-stable.

-- 
Timur Tabi
Linux kernel developer at Freescale

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

* Re: [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed.
  2012-03-08 22:47 [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed soniccat.liu
  2012-03-12 16:09 ` Timur Tabi
@ 2012-03-16 15:14 ` Kumar Gala
  2012-03-16 15:24 ` Kumar Gala
  2 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2012-03-16 15:14 UTC (permalink / raw)
  To: soniccat.liu; +Cc: linuxppc-dev, timur


On Mar 8, 2012, at 4:47 PM, soniccat.liu@gmail.com wrote:

> From: Liu Shuo <soniccat.liu@gmail.com>
> 
> Signed-off-by: Liu Shuo <soniccat.liu@gmail.com>
> ---
> arch/powerpc/sysdev/fsl_msi.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

applied

- k

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

* Re: [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed.
  2012-03-08 22:47 [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed soniccat.liu
  2012-03-12 16:09 ` Timur Tabi
  2012-03-16 15:14 ` Kumar Gala
@ 2012-03-16 15:24 ` Kumar Gala
  2 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2012-03-16 15:24 UTC (permalink / raw)
  To: soniccat.liu; +Cc: linuxppc-dev, timur


On Mar 8, 2012, at 4:47 PM, soniccat.liu@gmail.com wrote:

> From: Liu Shuo <soniccat.liu@gmail.com>
> 
> Signed-off-by: Liu Shuo <soniccat.liu@gmail.com>
> ---
> arch/powerpc/sysdev/fsl_msi.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

applied

- k

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

end of thread, other threads:[~2012-03-16 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 22:47 [PATCH] powerpc/fsl_msi : return proper error value when ioremap failed soniccat.liu
2012-03-12 16:09 ` Timur Tabi
2012-03-16 15:14 ` Kumar Gala
2012-03-16 15:24 ` Kumar Gala

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).