Re: [PATCH net-next] net: add devm version of alloc_etherdev_mqs function

2017-01-29 Thread David Miller
From: Rafał Miłecki Date: Sat, 28 Jan 2017 15:15:42 +0100 > From: Rafał Miłecki > > This patch adds devm_alloc_etherdev_mqs function and devm_alloc_etherdev > macro. These can be used for simpler netdev allocation without having to > care about calling free_netdev. > > Thanks to this change dr

[PATCH net-next] net: add devm version of alloc_etherdev_mqs function

2017-01-28 Thread Rafał Miłecki
From: Rafał Miłecki This patch adds devm_alloc_etherdev_mqs function and devm_alloc_etherdev macro. These can be used for simpler netdev allocation without having to care about calling free_netdev. Thanks to this change drivers, their error paths and removal paths may get simpler by a bit. Sign