[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0CE8B6BE3C4AD74AB97D9D29BD24E5520210DF01@CORPEXCH1.na.ads.idt.com>
Date: Thu, 1 Sep 2011 06:29:55 -0700
From: "Bounine, Alexandre" <Alexandre.Bounine@....com>
To: Liu Gang <Gang.Liu@...escale.com>, <linuxppc-dev@...ts.ozlabs.org>
CC: <r58472@...escale.com>, <r61911@...escale.com>,
<linux-kernel@...r.kernel.org>, <akpm@...ux-foundation.org>,
<B11780@...escale.com>
Subject: RE: [PATCH] fsl-rio: Release rapidio port I/O region resource if portfailed to initialize
On Thursday, September 01, 2011 5:52 AM
Liu Gang <Gang.Liu@...escale.com> wrote:
> Subject: [PATCH] fsl-rio: Release rapidio port I/O region resource if
> portfailed to initialize
>
...
>
> Signed-off-by: Liu Gang <Gang.Liu@...escale.com>
> ---
> 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 <alexandre.bounine@....com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists