All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Moritz Fischer <mdf@kernel.org>
Cc: kbuild-all@01.org, netdev@vger.kernel.org
Subject: [net-next:master 13/40] drivers/net/ethernet/altera/altera_tse_main.c:1628: undefined reference to `of_phy_is_fixed_link'
Date: Tue, 4 Sep 2018 23:50:24 +0800	[thread overview]
Message-ID: <20180904155024.GU17047@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2018-09-04 20:03 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=20180904155024.GU17047@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=mdf@kernel.org \
    --cc=netdev@vger.kernel.org \
    /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.