Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420579
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] ethtool: Add common functions for get and set settings |
| Date | 2016-06-13 10:20 +0200 |
| Message-ID | <rJvgd-3EL-17@gated-at.bofh.it> (permalink) |
| References | <rJto6-2pt-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi,
[auto build test ERROR on net/master]
[also build test ERROR on v4.7-rc3 next-20160609]
[cannot apply to net-next/master]
[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/Dongpo-Li/Add-Hisilicon-MDIO-bus-driver-and-FEMAC-driver/20160613-141459
config: sh-sh7785lcr_32bit_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
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=sh
All errors (new ones prefixed by >>):
net/built-in.o: In function `ethtool_op_get_settings':
>> net/core/ethtool.c:56: undefined reference to `phy_ethtool_gset'
net/built-in.o: In function `ethtool_op_set_settings':
>> net/core/ethtool.c:68: undefined reference to `phy_ethtool_sset'
vim +56 net/core/ethtool.c
50 }
51 EXPORT_SYMBOL(ethtool_op_get_ts_info);
52
53 int ethtool_op_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
54 {
55 if (!dev->phydev)
> 56 return -ENODEV;
57
58 return phy_ethtool_gset(dev->phydev, cmd);
59 }
60 EXPORT_SYMBOL(ethtool_op_get_settings);
61
62 int ethtool_op_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
63 {
64 if (!capable(CAP_NET_ADMIN))
65 return -EPERM;
66
67 if (!dev->phydev)
> 68 return -ENODEV;
69
70 return phy_ethtool_sset(dev->phydev, cmd);
71 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] Add Hisilicon MDIO bus driver and FEMAC driver Dongpo Li <lidongpo@hisilicon.com> - 2016-06-13 08:20 +0200
[PATCH 2/3] ethtool: Add common functions for get and set settings Dongpo Li <lidongpo@hisilicon.com> - 2016-06-13 08:20 +0200
Re: [PATCH 2/3] ethtool: Add common functions for get and set settings kbuild test robot <lkp@intel.com> - 2016-06-13 09:40 +0200
Re: [PATCH 2/3] ethtool: Add common functions for get and set settings kbuild test robot <lkp@intel.com> - 2016-06-13 10:20 +0200
Re: [PATCH 2/3] ethtool: Add common functions for get and set settings kbuild test robot <lkp@intel.com> - 2016-06-13 10:40 +0200
[PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Dongpo Li <lidongpo@hisilicon.com> - 2016-06-13 08:20 +0200
Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Arnd Bergmann <arnd@arndb.de> - 2016-06-13 12:40 +0200
Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Li Dongpo <lidongpo@hisilicon.com> - 2016-06-14 15:20 +0200
Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Arnd Bergmann <arnd@arndb.de> - 2016-06-14 23:20 +0200
Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Dongpo Li <lidongpo@hisilicon.com> - 2016-06-15 12:00 +0200
Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Rob Herring <robh@kernel.org> - 2016-06-15 00:40 +0200
Re: [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Dongpo Li <lidongpo@hisilicon.com> - 2016-06-15 12:20 +0200
csiph-web