[Intel-wired-lan] [PATCH] ethtool: stop the line wrapping madness
kbuild test robot
lkp at intel.com
Wed Dec 14 00:41:32 UTC 2016
Hi Mitch,
[auto build test ERROR on net-next/master]
[cannot apply to v4.9]
[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/Mitch-Williams/ethtool-stop-the-line-wrapping-madness/20161214-065626
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64
All errors (new ones prefixed by >>):
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c: In function 'nicvf_get_link_ksettings':
>> drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c:174:2: error: implicit declaration of function 'ethtool_convert_legacy_u32_to_link_mode' [-Werror=implicit-function-declaration]
ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/ethtool_convert_legacy_u32_to_link_mode +174 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c
bfd8d977 Philippe Reynes 2016-12-10 168 supported |= SUPPORTED_40000baseCR4_Full;
1cc70259 Thanneeru Srinivasulu 2016-11-24 169 break;
4863dea3 Sunil Goutham 2015-05-26 170 }
bfd8d977 Philippe Reynes 2016-12-10 171 cmd->base.duplex = nic->duplex;
bfd8d977 Philippe Reynes 2016-12-10 172 cmd->base.speed = nic->speed;
bfd8d977 Philippe Reynes 2016-12-10 173
bfd8d977 Philippe Reynes 2016-12-10 @174 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
bfd8d977 Philippe Reynes 2016-12-10 175 supported);
bfd8d977 Philippe Reynes 2016-12-10 176 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising,
bfd8d977 Philippe Reynes 2016-12-10 177 advertising);
:::::: The code at line 174 was first introduced by commit
:::::: bfd8d977af2390e646d4a5df8e88c1d7a1ae63d9 net: nicvf: use new api ethtool_{get|set}_link_ksettings
:::::: TO: Philippe Reynes <tremyfr at gmail.com>
:::::: CC: David S. Miller <davem at davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 45233 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20161214/97e19161/attachment-0001.bin>
More information about the Intel-wired-lan
mailing list