[PATCH] ioremap/iounmap issue in yucca_setup_pcie_fpga_rootpoint(); arch/ppc/platforms/4xx/yucca.c

Josh Boyer jwboyer at linux.vnet.ibm.com
Fri Nov 9 01:09:31 EST 2007


On Wed, 07 Nov 2007 23:22:48 +0100
Roel Kluin <12o3l at tiscali.nl> wrote:

> iounmap pcie_reg_fpga_base in default case
> 
> Signed-off-by: Roel Kluin <12o3l at tiscali.nl>

Looks good, thanks.

josh

> ---
> diff --git a/arch/ppc/platforms/4xx/yucca.c b/arch/ppc/platforms/4xx/yucca.c
> index a83b0ba..66a44ff 100644
> --- a/arch/ppc/platforms/4xx/yucca.c
> +++ b/arch/ppc/platforms/4xx/yucca.c
> @@ -211,6 +211,7 @@ static void __init yucca_setup_pcie_fpga_rootpoint(int port)
>  		break;
> 
>  	default:
> +		iounmap(pcie_reg_fpga_base);
>  		return;
>  	}
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev



More information about the Linuxppc-dev mailing list