提交 2ae24c52 编写于 作者: R Roel Kluin 提交者: Josh Boyer

[POWERPC] 4xx: balance ioremap/ioumap calls for Yucca

Call iounmap before returning from an error case.
Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
上级 221fe3a4
...@@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port) ...@@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
break; break;
default: default:
iounmap(pcie_reg_fpga_base);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册