Re: [PATCH -next] net: netcp: drop kfree for memory allocated with devm_kzalloc

2016-10-26 Thread David Miller
None of your patches apply to the net-next tree. I'm getting extremely troubled by the quality of your submissions and the effort you are not putting into making sure you submit patches which will apply cleanly against the net-next tree. I think I'm at the point where it is extremely fair for me

[PATCH -next] net: netcp: drop kfree for memory allocated with devm_kzalloc

2016-10-22 Thread Wei Yongjun
From: Wei Yongjun It's not necessary to free memory allocated with devm_kzalloc in the remove path and using kfree leads to a double free. Fixes: 84640e27f230 ("net: netcp: Add Keystone NetCP core ethernet driver") Signed-off-by: Wei Yongjun --- drivers/net/ethernet/ti/netcp_core.c | 2 -- 1 f