All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: oe-kbuild-all@lists.linux.dev, Christian Marangi <ansuelsmth@gmail.com>
Subject: [lunn:v6.3-rc2-net-next-phy-leds 5/15] emac-phy.c:undefined reference to `devm_mdiobus_alloc_size'
Date: Thu, 30 Mar 2023 10:43:08 +0800	[thread overview]
Message-ID: <202303301002.RpAF2MbW-lkp@intel.com> (raw)

tree:   https://github.com/lunn/linux.git v6.3-rc2-net-next-phy-leds
head:   6429f658c82fbe35826e8e3b8a5eb588093912e6
commit: 34fcf09e6a1b0a524768782858cb70f369359022 [5/15] net: phy: Add a binding for PHY LEDs
config: arm-randconfig-r006-20230326 (https://download.01.org/0day-ci/archive/20230330/202303301002.RpAF2MbW-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/lunn/linux/commit/34fcf09e6a1b0a524768782858cb70f369359022
        git remote add lunn https://github.com/lunn/linux.git
        git fetch --no-tags lunn v6.3-rc2-net-next-phy-leds
        git checkout 34fcf09e6a1b0a524768782858cb70f369359022
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303301002.RpAF2MbW-lkp@intel.com/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: drivers/net/phy/phy_device.o: in function `phy_probe':
   phy_device.c:(.text+0x3b08): undefined reference to `devm_led_classdev_register_ext'
   arm-linux-gnueabi-ld: drivers/net/ethernet/freescale/xgmac_mdio.o: in function `xgmac_mdio_probe':
   xgmac_mdio.c:(.text+0x784): undefined reference to `devm_mdiobus_alloc_size'
   arm-linux-gnueabi-ld: drivers/net/ethernet/qualcomm/emac/emac-phy.o: in function `emac_phy_config':
>> emac-phy.c:(.text+0x2a0): undefined reference to `devm_mdiobus_alloc_size'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PHYLIB
   Depends on [m]: NETDEVICES [=y] && (LEDS_CLASS [=m] || LEDS_CLASS [=m]=n)
   Selected by [y]:
   - FSL_XGMAC_MDIO [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_FREESCALE [=y] && OF [=y]
   - HIX5HD2_GMAC [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_HISILICON [=y]
   - QCOM_EMAC [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_QUALCOMM [=y] && HAS_DMA [=y] && HAS_IOMEM [=y]
   Selected by [m]:
   - ETHOC [=m] && NETDEVICES [=y] && ETHERNET [=y] && HAS_IOMEM [=y] && HAS_DMA [=y]
   - SPI_AX88796C [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_ASIX [=y] && SPI [=y] && GPIOLIB [=y]
   - SYSTEMPORT [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_BROADCOM [=y] && HAS_IOMEM [=y] && (NET_DSA [=n] || !NET_DSA [=n])
   - DM9051 [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_DAVICOM [=y] && SPI [=y]
   - HISI_FEMAC [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_HISILICON [=y] && HAS_IOMEM [=y]
   - HNS_MDIO [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_HISILICON [=y]
   - HNS_ENET [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_HISILICON [=y]
   - KS8851 [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICREL [=y] && SPI [=y] && PTP_1588_CLOCK_OPTIONAL [=m]
   - SXGBE_ETH [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_SAMSUNG [=y] && HAS_IOMEM [=y] && HAS_DMA [=y] && PTP_1588_CLOCK_OPTIONAL [=m]
   - TI_DAVINCI_MDIO [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TI [=y] && (ARCH_DAVINCI [=n] || ARCH_OMAP2PLUS [=y] || ARCH_KEYSTONE [=n] || ARCH_K3 || COMPILE_TEST [=y])

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

                 reply	other threads:[~2023-03-30  2:43 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=202303301002.RpAF2MbW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=ansuelsmth@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.