[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130828093508.GQ2695@lukather>
Date: Wed, 28 Aug 2013 11:35:08 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Jisheng Zhang <jszhang@...vell.com>
Cc: davem@...emloft.net, emilio@...pez.com.ar, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: mdio-sun4i: Convert to devm_* api
Hi Jisheng,
On Mon, Aug 26, 2013 at 09:11:57PM +0800, Jisheng Zhang wrote:
> Use devm_ioremap_resource instead of of_iomap() and devm_kzalloc()
> instead of kmalloc() to make cleanup paths simpler. This patch also
> fixes the resource leak caused by missing corresponding iounamp()
> of the of_iomap().
>
> Signed-off-by: Jisheng Zhang <jszhang@...vell.com>
It looks fine for me.
Acked-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists