Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1569328

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: add devm version of alloc_etherdev_mqs function
Date 2017-01-30 01:40 +0100
Message-ID <t58aJ-5AU-3@gated-at.bofh.it> (permalink)
References <t4C1c-2wu-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

> From: Rafał Miłecki <rafal@milecki.pl>
> 
> 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>

This looks fine, thanks.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: add devm version of alloc_etherdev_mqs function Rafał Miłecki <zajec5@gmail.com> - 2017-01-28 15:20 +0100
  Re: [PATCH net-next] net: add devm version of alloc_etherdev_mqs  function David Miller <davem@davemloft.net> - 2017-01-30 01:40 +0100

csiph-web