From: kernel test robot <lkp@intel.com>
To: Jiawen Wu <jiawenwu@trustnetic.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Subject: [linux-next:master 11933/13245] drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:220:undefined reference to `phylink_ethtool_get_pauseparam'
Date: Thu, 11 Jan 2024 18:45:40 +0800 [thread overview]
Message-ID: <202401111846.TjO5BA3A-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9e21984d62c56a0f6d1fc6f76b646212cfd7fe88
commit: 2fe2ca09da953bac778eab5dfb309b4e7d274b1a [11933/13245] net: wangxun: add flow control support
config: parisc-randconfig-r002-20221104 (https://download.01.org/0day-ci/archive/20240111/202401111846.TjO5BA3A-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240111/202401111846.TjO5BA3A-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401111846.TjO5BA3A-lkp@intel.com/
All errors (new ones prefixed by >>):
hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove':
ngbe_main.c:(.text+0x1c): undefined reference to `phylink_destroy'
hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_close':
ngbe_main.c:(.text+0x300): undefined reference to `phylink_stop'
hppa-linux-ld: ngbe_main.c:(.text+0x330): undefined reference to `phylink_disconnect_phy'
hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_up':
ngbe_main.c:(.text+0x874): undefined reference to `phylink_start'
hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open':
ngbe_main.c:(.text+0xae0): undefined reference to `phylink_connect_phy'
hppa-linux-ld: ngbe_main.c:(.text+0xb20): undefined reference to `phylink_disconnect_phy'
hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_probe':
ngbe_main.c:(.text+0x11c0): undefined reference to `phylink_destroy'
hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_nway_reset':
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:193:(.text+0x2cc): undefined reference to `phylink_ethtool_nway_reset'
hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_get_link_ksettings':
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:202:(.text+0x2f0): undefined reference to `phylink_ethtool_ksettings_get'
hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_set_link_ksettings':
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:211:(.text+0x318): undefined reference to `phylink_ethtool_ksettings_set'
hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_get_pauseparam':
>> drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:220:(.text+0x340): undefined reference to `phylink_ethtool_get_pauseparam'
hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_set_pauseparam':
>> drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:229:(.text+0x368): undefined reference to `phylink_ethtool_set_pauseparam'
hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.o: in function `ngbe_mdio_init':
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c:130:(.text+0x38c): undefined reference to `phylink_create'
vim +220 drivers/net/ethernet/wangxun/libwx/wx_ethtool.c
214
215 void wx_get_pauseparam(struct net_device *netdev,
216 struct ethtool_pauseparam *pause)
217 {
218 struct wx *wx = netdev_priv(netdev);
219
> 220 phylink_ethtool_get_pauseparam(wx->phylink, pause);
221 }
222 EXPORT_SYMBOL(wx_get_pauseparam);
223
224 int wx_set_pauseparam(struct net_device *netdev,
225 struct ethtool_pauseparam *pause)
226 {
227 struct wx *wx = netdev_priv(netdev);
228
> 229 return phylink_ethtool_set_pauseparam(wx->phylink, pause);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-01-11 10:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202401111846.TjO5BA3A-lkp@intel.com \
--to=lkp@intel.com \
--cc=jiawenwu@trustnetic.com \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rmk+kernel@armlinux.org.uk \
/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