From: kbuild test robot <lkp@intel.com>
To: Dongpo Li <lidongpo@hisilicon.com>
Cc: kbuild-all@01.org, f.fainelli@gmail.com, robh+dt@kernel.org,
mark.rutland@arm.com, davem@davemloft.net,
xuejiancheng@hisilicon.com, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Dongpo Li <lidongpo@hisilicon.com>
Subject: Re: [PATCH 2/3] ethtool: Add common functions for get and set settings
Date: Mon, 13 Jun 2016 16:11:34 +0800 [thread overview]
Message-ID: <201606131624.X2cWzCIR%fengguang.wu@intel.com> (raw)
In-Reply-To: <1465798076-176393-3-git-send-email-lidongpo@hisilicon.com>
[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 16936 bytes --]
next prev parent reply other threads:[~2016-06-13 8:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 6:07 [PATCH 0/3] Add Hisilicon MDIO bus driver and FEMAC driver Dongpo Li
2016-06-13 6:07 ` [PATCH 1/3] net: Add MDIO bus driver for the Hisilicon FEMAC Dongpo Li
2016-06-13 13:32 ` Andrew Lunn
2016-06-14 8:24 ` Li Dongpo
2016-06-14 22:27 ` Rob Herring
2016-06-15 7:49 ` Li Dongpo
2016-06-13 6:07 ` [PATCH 2/3] ethtool: Add common functions for get and set settings Dongpo Li
2016-06-13 7:36 ` kbuild test robot
2016-06-13 8:11 ` kbuild test robot [this message]
2016-06-13 8:38 ` kbuild test robot
2016-06-13 6:07 ` [PATCH 3/3] net: hisilicon: Add Fast Ethernet MAC driver Dongpo Li
2016-06-13 7:12 ` kbuild test robot
2016-06-13 9:06 ` Arnd Bergmann
2016-06-14 13:17 ` Li Dongpo
2016-06-14 21:20 ` Arnd Bergmann
2016-06-15 9:56 ` Dongpo Li
2016-06-28 9:21 ` Dongpo Li
2016-06-28 9:34 ` Arnd Bergmann
2016-07-11 3:44 ` Dongpo Li
2016-07-11 8:16 ` Arnd Bergmann
2016-07-11 8:33 ` Dongpo Li
2016-06-14 22:31 ` Rob Herring
2016-06-15 10:08 ` Dongpo Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201606131624.X2cWzCIR%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=kbuild-all@01.org \
--cc=lidongpo@hisilicon.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=netdev@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=xuejiancheng@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®