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

2013-04-10 Thread Sergei Shtylyov
On 04/11/2013 12:17 AM, Sebastian Hesselbarth wrote: This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth --- Note that there is also an ioremap call, that could be transferred to

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

2013-04-10 Thread Sebastian Hesselbarth
On 04/10/2013 08:41 PM, Sergei Shtylyov wrote: Hello. On 04/10/2013 09:38 PM, Sebastian Hesselbarth wrote: This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth --- Note that there is

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

2013-04-10 Thread Sergei Shtylyov
Hello. On 04/10/2013 09:38 PM, Sebastian Hesselbarth wrote: This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth --- Note that there is also an ioremap call, that could be transferred

[PATCH] 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 --- Note that there is also an ioremap call, that could be transferred to devm_ioremap_resource. But as long as mv643xx_eth and mvmdio

[PATCH] 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 sebastian.hesselba...@gmail.com --- Note that there is also an ioremap call, that could be transferred to devm_ioremap_resource. But as

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

2013-04-10 Thread Sergei Shtylyov
Hello. On 04/10/2013 09:38 PM, Sebastian Hesselbarth wrote: This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Note that there is also an ioremap

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

2013-04-10 Thread Sebastian Hesselbarth
On 04/10/2013 08:41 PM, Sergei Shtylyov wrote: Hello. On 04/10/2013 09:38 PM, Sebastian Hesselbarth wrote: This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth

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

2013-04-10 Thread Sergei Shtylyov
On 04/11/2013 12:17 AM, Sebastian Hesselbarth wrote: This patch moves shared private data kzalloc to managed devm_kzalloc and cleans now unneccessary kfree and error handling. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Note that there is also an ioremap call,