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

From: David Miller
Date: Sun Jan 29 2017 - 19:31:12 EST


From: Rafał Miłecki <zajec5@xxxxxxxxx>
Date: Sat, 28 Jan 2017 15:15:42 +0100

> From: Rafał Miłecki <rafal@xxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>

This looks fine, thanks.