From: kernel test robot <lkp@intel.com>
To: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
Simon Horman <simon.horman@corigine.com>
Subject: [net-next:main 5/19] drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c:669: undefined reference to `lynx_pcs_destroy'
Date: Tue, 6 Jun 2023 11:01:01 +0800 [thread overview]
Message-ID: <202306061016.ZObwe4Oh-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git main
head: 28cfea989d6f55c3d10608eba2a2bae609c5bf3e
commit: 5d1f3fe7d2d54d04b44aa5b9b62b305fdcf653ec [5/19] net: stmmac: dwmac-sogfpga: use the lynx pcs driver
config: x86_64-randconfig-x066-20230605 (https://download.01.org/0day-ci/archive/20230606/202306061016.ZObwe4Oh-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=5d1f3fe7d2d54d04b44aa5b9b62b305fdcf653ec
git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git fetch --no-tags net-next main
git checkout 5d1f3fe7d2d54d04b44aa5b9b62b305fdcf653ec
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306061016.ZObwe4Oh-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `altera_tse_remove':
drivers/net/ethernet/altera/altera_tse_main.c:1473: undefined reference to `lynx_pcs_destroy'
ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `altera_tse_probe':
drivers/net/ethernet/altera/altera_tse_main.c:1419: undefined reference to `lynx_pcs_create_mdiodev'
ld: drivers/net/ethernet/altera/altera_tse_main.c:1451: undefined reference to `lynx_pcs_destroy'
ld: drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.o: in function `stmmac_mdio_unregister':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c:669: undefined reference to `lynx_pcs_destroy'
vim +669 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
652
653 /**
654 * stmmac_mdio_unregister
655 * @ndev: net device structure
656 * Description: it unregisters the MII bus
657 */
658 int stmmac_mdio_unregister(struct net_device *ndev)
659 {
660 struct stmmac_priv *priv = netdev_priv(ndev);
661
662 if (!priv->mii)
663 return 0;
664
665 if (priv->hw->xpcs)
666 xpcs_destroy(priv->hw->xpcs);
667
668 if (priv->hw->lynx_pcs)
> 669 lynx_pcs_destroy(priv->hw->lynx_pcs);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-06-06 3:01 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=202306061016.ZObwe4Oh-lkp@intel.com \
--to=lkp@intel.com \
--cc=maxime.chevallier@bootlin.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=simon.horman@corigine.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.