Commit b53804c7 authored by Liu Shuo's avatar Liu Shuo Committed by Kumar Gala
Browse files

powerpc/fsl_msi: return proper error value when ioremap failed.

Signed-off-by: default avatarLiu Shuo <>
Acked-by: default avatarTimur Tabi <>
Signed-off-by: default avatarKumar Gala <>
parent e131fbda
......@@ -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",
goto error_out;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment