mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-10 12:20:30 +00:00
![Rafał Miłecki](/assets/img/avatar_default.png)
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@milecki.pl> Signed-off-by: David S. Miller <davem@davemloft.net>