* [net-next:main 5/19] drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c:669: undefined reference to `lynx_pcs_destroy'
@ 2023-06-06 3:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-06 3:01 UTC (permalink / raw)
To: Maxime Chevallier; +Cc: oe-kbuild-all, netdev, Simon Horman
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-06 3:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 3:01 [net-next:main 5/19] drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c:669: undefined reference to `lynx_pcs_destroy' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).