powerpc/fsl_msi : return proper error value when ioremap failed.
PATCH 1/1 powerpc/fsl_msi : return proper error value when ioremap failed.
From: Liu Shuo <[email protected]>
Signed-off-by Liu Shuo <[email protected]>
--- arch/powerpc/sysdev/fsl_msi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/sysdev/fsl_msi.c +1 -0
@@ -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;
Signature · 1 line
1.7.4.1
Quoted 3 lines · [email protected] wrote:
From: Liu Shuo <[email protected]>
Signed-off-by Liu Shuo <[email protected]>
Acked-by Timur Tabi <[email protected]>
This is not a critical fix for 3.3, but it should probably be applied to 3.3-stable.
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
Kumar Gala
AppliedQuoted 6 lines · On Mar 8, 2012, at 4:47 PM, [email protected] wrote:
From: Liu Shuo <[email protected]>
Signed-off-by Liu Shuo <[email protected]>---
arch/powerpc/sysdev/fsl_msi.c| 1 +1 files changed, 1 insertions(+), 0 deletions(-)
applied
- k
Kumar Gala
AppliedQuoted 6 lines · On Mar 8, 2012, at 4:47 PM, [email protected] wrote:
From: Liu Shuo <[email protected]>
Signed-off-by Liu Shuo <[email protected]>---
arch/powerpc/sysdev/fsl_msi.c| 1 +1 files changed, 1 insertions(+), 0 deletions(-)
applied
- k