[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130829.145513.179529840926907721.davem@davemloft.net>
Date: Thu, 29 Aug 2013 14:55:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: maxime.ripard@...e-electrons.com
Cc: jszhang@...vell.com, emilio@...pez.com.ar, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: mdio-sun4i: Convert to devm_* api
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
Date: Wed, 28 Aug 2013 11:35:08 +0200
> 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>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists