[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140513.185152.2201531561679333133.davem@davemloft.net>
Date: Tue, 13 May 2014 18:51:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, linux-sh@...r.kernel.org
Subject: Re: [PATCH v2] sh_eth: replace devm_kzalloc() with
devm_kmalloc_array()
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Tue, 13 May 2014 02:30:14 +0400
> When I was converting the driver to the managed device API, only devm_kzalloc()
> was available for memory allocation, so I had to use it, despite zeroing out the
> PHY IRQ array right before initializing all its entries to PHY_POLL was quite
> stupid. Now that devm_kmalloc_array() has become available, we can avoid the
> needless zeroing out...
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Applied, thanks Sergei.
--
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