Re: [PATCH v2] net: mv643xx_eth: use managed devm_kzalloc

2013-04-11 Thread David Miller
From: Sebastian Hesselbarth Date: Thu, 11 Apr 2013 08:53:19 +0200 > On 04/11/2013 05:39 AM, David Miller wrote: >> From: Sebastian Hesselbarth >> Date: Wed, 10 Apr 2013 22:42:07 +0200 >> >>> This patch moves shared private data kzalloc to managed devm_kzalloc >>> and >>> cleans now unneccessary k

Re: [PATCH v2] net: mv643xx_eth: use managed devm_kzalloc

2013-04-10 Thread Sebastian Hesselbarth
On 04/11/2013 05:39 AM, David Miller wrote: From: Sebastian Hesselbarth Date: Wed, 10 Apr 2013 22:42:07 +0200 This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth This doesn't apply cle

Re: [PATCH v2] net: mv643xx_eth: use managed devm_kzalloc

2013-04-10 Thread David Miller
From: Sebastian Hesselbarth Date: Wed, 10 Apr 2013 22:42:07 +0200 > This patch moves shared private data kzalloc to managed devm_kzalloc and > cleans now unneccessary kfree and error handling. > > Signed-off-by: Sebastian Hesselbarth This doesn't apply cleanly to the net-next tree. -- To unsub

[PATCH v2] net: mv643xx_eth: use managed devm_kzalloc

2013-04-10 Thread Sebastian Hesselbarth
This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth --- Changes from v1: - replaced EADDRNOTAVAIL with ENOMEM on failing ioremap (Reported by Sergei Shtylyov) Cc: Lennert Buytenhek Cc: