On Thursday, September 01, 2011 5:52 AM Liu Gang <[email protected]> wrote:
> Subject: [PATCH] fsl-rio: Release rapidio port I/O region resource if > portfailed to initialize > ... > > Signed-off-by: Liu Gang <[email protected]> > --- > arch/powerpc/sysdev/fsl_rio.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/sysdev/fsl_rio.c > b/arch/powerpc/sysdev/fsl_rio.c > index c65f75a..22ffccd 100644 > --- a/arch/powerpc/sysdev/fsl_rio.c > +++ b/arch/powerpc/sysdev/fsl_rio.c > @@ -1608,6 +1608,7 @@ int fsl_rio_setup(struct platform_device *dev) > return 0; > err: > iounmap(priv->regs_win); > + release_resource(&port->iores); > err_res: > kfree(priv); > err_priv: > -- > 1.7.3.1 Acked-by: Alexandre Bounine <[email protected]> _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
