* [net-next:master 13/40] drivers/net/ethernet/altera/altera_tse_main.c:1628: undefined reference to `of_phy_is_fixed_link'
@ 2018-09-04 15:50 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-09-04 15:50 UTC (permalink / raw)
To: Moritz Fischer; +Cc: kbuild-all, netdev
[-- Attachment #1: Type: text/plain, Size: 3512 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 42220b77495d20eff5880336faff7bca1c111ee3
commit: 7e8d5755be0e6c92d3b86a85e54c6a550b1910c5 [13/40] net: nixge: Add support for 64-bit platforms
config: i386-randconfig-b0-09021507 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 7e8d5755be0e6c92d3b86a85e54c6a550b1910c5
# save the attached .config to linux build tree
make ARCH=i386
:::::: branch date: 3 hours ago
:::::: commit date: 4 days ago
All errors (new ones prefixed by >>):
drivers/net/ethernet/altera/altera_tse_main.o: In function `altera_tse_remove':
>> drivers/net/ethernet/altera/altera_tse_main.c:1628: undefined reference to `of_phy_is_fixed_link'
>> drivers/net/ethernet/altera/altera_tse_main.c:1629: undefined reference to `of_phy_deregister_fixed_link'
drivers/net/ethernet/stmicro/stmmac/stmmac_main.o: In function `stmmac_init_phy':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:963: undefined reference to `of_phy_connect'
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.o: In function `stmmac_mdio_register':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c:361: undefined reference to `of_mdiobus_register'
# https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=7e8d5755be0e6c92d3b86a85e54c6a550b1910c5
git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git remote update net-next
git checkout 7e8d5755be0e6c92d3b86a85e54c6a550b1910c5
vim +1628 drivers/net/ethernet/altera/altera_tse_main.c
bbd2190c Vince Bridgers 2014-03-17 1617
bbd2190c Vince Bridgers 2014-03-17 1618 /* Remove Altera TSE MAC device
bbd2190c Vince Bridgers 2014-03-17 1619 */
bbd2190c Vince Bridgers 2014-03-17 1620 static int altera_tse_remove(struct platform_device *pdev)
bbd2190c Vince Bridgers 2014-03-17 1621 {
bbd2190c Vince Bridgers 2014-03-17 1622 struct net_device *ndev = platform_get_drvdata(pdev);
5a89394a Johan Hovold 2016-11-28 1623 struct altera_tse_private *priv = netdev_priv(ndev);
c484994e Kostya Belezko 2014-12-30 1624
5a89394a Johan Hovold 2016-11-28 1625 if (ndev->phydev) {
941ea69e Philippe Reynes 2016-06-18 1626 phy_disconnect(ndev->phydev);
bbd2190c Vince Bridgers 2014-03-17 1627
5a89394a Johan Hovold 2016-11-28 @1628 if (of_phy_is_fixed_link(priv->device->of_node))
5a89394a Johan Hovold 2016-11-28 @1629 of_phy_deregister_fixed_link(priv->device->of_node);
5a89394a Johan Hovold 2016-11-28 1630 }
5a89394a Johan Hovold 2016-11-28 1631
bbd2190c Vince Bridgers 2014-03-17 1632 platform_set_drvdata(pdev, NULL);
bbd2190c Vince Bridgers 2014-03-17 1633 altera_tse_mdio_destroy(ndev);
bbd2190c Vince Bridgers 2014-03-17 1634 unregister_netdev(ndev);
bbd2190c Vince Bridgers 2014-03-17 1635 free_netdev(ndev);
bbd2190c Vince Bridgers 2014-03-17 1636
bbd2190c Vince Bridgers 2014-03-17 1637 return 0;
bbd2190c Vince Bridgers 2014-03-17 1638 }
bbd2190c Vince Bridgers 2014-03-17 1639
:::::: The code at line 1628 was first introduced by commit
:::::: 5a89394ad2a5b94885bdbbb611518b0cc70bf354 net: ethernet: altera: fix fixed-link phydev leaks
:::::: TO: Johan Hovold <johan@kernel.org>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31597 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-04 20:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-04 15:50 [net-next:master 13/40] drivers/net/ethernet/altera/altera_tse_main.c:1628: undefined reference to `of_phy_is_fixed_link' kbuild 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).