All of lore.kernel.org
 help / color / mirror / Atom feed
* [lunn:v6.3-rc2-net-next-phy-leds 5/15] emac-phy.c:undefined reference to `devm_mdiobus_alloc_size'
@ 2023-03-30  2:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-30  2:43 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: oe-kbuild-all, Christian Marangi

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-30  2:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30  2:43 [lunn:v6.3-rc2-net-next-phy-leds 5/15] emac-phy.c:undefined reference to `devm_mdiobus_alloc_size' kernel test robot

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.