Skip to content

Commit

Permalink
[POWERPC] 4xx: balance ioremap/ioumap calls for Yucca
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and Josh Boyer committed Nov 19, 2007
1 parent 221fe3a commit 2ae24c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/ppc/platforms/4xx/yucca.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
break;

default:
iounmap(pcie_reg_fpga_base);
return;
}

Expand Down

0 comments on commit 2ae24c5

Please sign in to comment.