forked from luck/tmp_suning_uos_patched
[POWERPC] 4xx: balance ioremap/ioumap calls for Yucca
Call iounmap before returning from an error case. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
parent
221fe3a4be
commit
2ae24c521a
|
@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
|
|||
break;
|
||||
|
||||
default:
|
||||
iounmap(pcie_reg_fpga_base);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user