Re: [PATCH V2 1/3] net: bgmac: allocate struct bgmac just once & don't copy it
From: Rafał Miłecki <zajec5@gmail.com>
Date: 2017-01-29 20:11:11
On 01/29/2017 12:40 AM, kbuild test robot wrote:
[auto build test ERROR on net-next/master] [also build test ERROR on v4.10-rc5 next-20170125] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rafa-Mi-ecki/net-next-use-one-struct-bgmac-add-PHY-support/20170129-062241 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): drivers/net/ethernet/broadcom/bgmac.c: In function 'bgmac_alloc':quoted
quoted
drivers/net/ethernet/broadcom/bgmac.c:1455:12: error: implicit declaration of function 'devm_alloc_etherdev' [-Werror=implicit-function-declaration]net_dev = devm_alloc_etherdev(dev, sizeof(*bgmac)); ^~~~~~~~~~~~~~~~~~~
Thanks, this is expected as this patch depends on [PATCH net-next] net: add devm version of alloc_etherdev_mqs function Let's see if net guys will find my devm_alloc_etherdev implementation acceptable.