[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130826204605.GE24470@titan.lakedaemon.net>
Date: Mon, 26 Aug 2013 16:46:05 -0400
From: Jason Cooper <jason@...edaemon.net>
To: Jisheng Zhang <jszhang@...vell.com>
Cc: andrew@...n.ch, gregory.clement@...e-electrons.com,
thomas.petazzoni@...e-electrons.com,
ezequiel.garcia@...e-electrons.com, mturquette@...aro.org,
sebastian.hesselbarth@...il.com, linus.walleij@...aro.org,
linux@....linux.org.uk, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v4 3/3] pinctrl: mvebu: Convert to use
devm_ioremap_resource
On Mon, Aug 26, 2013 at 07:36:58PM +0800, Jisheng Zhang wrote:
> The resource mapped by of_iomap() isn't unmapped in error path. This
> patch fix the resource leakage by using devm_ioremap_resource() instead
> of of_iomap().
>
> Signed-off-by: Jisheng Zhang <jszhang@...vell.com>
> Reviewed-by: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>
> ---
> drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
Acked-by: Jason Cooper <jason@...edaemon.net>
thx,
Jason.
--
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