Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH net-next V2 3/5] net: lan743x: Register the platform device for sfp pluggable module
       [not found] <20240911161054.4494-4-Raju.Lakkaraju@microchip.com>
@ 2024-09-15  2:16 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-15  2:16 UTC (permalink / raw)
  To: Raju Lakkaraju, netdev
  Cc: llvm, oe-kbuild-all, davem, edumazet, kuba, pabeni,
	bryan.whitehead, UNGLinuxDriver, linux, maxime.chevallier,
	rdunlap, andrew, Steen.Hegelund, Raju.Lakkaraju, daniel.machon,
	linux-kernel

Hi Raju,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Raju-Lakkaraju/net-lan743x-Add-SFP-support-check-flag/20240912-002444
base:   net-next/main
patch link:    https://lore.kernel.org/r/20240911161054.4494-4-Raju.Lakkaraju%40microchip.com
patch subject: [PATCH net-next V2 3/5] net: lan743x: Register the platform device for sfp pluggable module
config: x86_64-randconfig-003-20240914 (https://download.01.org/0day-ci/archive/20240915/202409151058.rOgbMAJJ-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240915/202409151058.rOgbMAJJ-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409151058.rOgbMAJJ-lkp@intel.com/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: i2c_get_adapter_by_fwnode
   >>> referenced by sfp.c:2981 (drivers/net/phy/sfp.c:2981)
   >>>               drivers/net/phy/sfp.o:(sfp_probe) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: i2c_put_adapter
   >>> referenced by sfp.c:2989 (drivers/net/phy/sfp.c:2989)
   >>>               drivers/net/phy/sfp.o:(sfp_probe) in archive vmlinux.a
   >>> referenced by sfp.c:2965 (drivers/net/phy/sfp.c:2965)
   >>>               drivers/net/phy/sfp.o:(sfp_cleanup) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: hwmon_device_unregister
   >>> referenced by sfp.c:1640 (drivers/net/phy/sfp.c:1640)
   >>>               drivers/net/phy/sfp.o:(__sfp_sm_event) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: mdio_i2c_alloc
   >>> referenced by sfp.c:707 (drivers/net/phy/sfp.c:707)
   >>>               drivers/net/phy/sfp.o:(__sfp_sm_event) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: hwmon_sanitize_name
   >>> referenced by sfp.c:1611 (drivers/net/phy/sfp.c:1611)
   >>>               drivers/net/phy/sfp.o:(sfp_hwmon_probe) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: hwmon_device_register_with_info
   >>> referenced by sfp.c:1617 (drivers/net/phy/sfp.c:1617)
   >>>               drivers/net/phy/sfp.o:(sfp_hwmon_probe) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: i2c_transfer
   >>> referenced by sfp.c:648 (drivers/net/phy/sfp.c:648)
   >>>               drivers/net/phy/sfp.o:(sfp_i2c_read) in archive vmlinux.a
   >>> referenced by sfp.c:680 (drivers/net/phy/sfp.c:680)
   >>>               drivers/net/phy/sfp.o:(sfp_i2c_write) in archive vmlinux.a

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for GP_PCI1XXXX
   Depends on [n]: PCI [=y] && GPIOLIB [=y] && NVMEM_SYSFS [=n]
   Selected by [y]:
   - LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y]
   WARNING: unmet direct dependencies detected for SFP
   Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && I2C [=m] && PHYLINK [=y] && (HWMON [=m] || HWMON [=m]=n [=n])
   Selected by [y]:
   - LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y]
   WARNING: unmet direct dependencies detected for I2C_PCI1XXXX
   Depends on [m]: I2C [=m] && HAS_IOMEM [=y] && PCI [=y]
   Selected by [y]:
   - LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y]

-- 
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:[~2024-09-15  2:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240911161054.4494-4-Raju.Lakkaraju@microchip.com>
2024-09-15  2:16 ` [PATCH net-next V2 3/5] net: lan743x: Register the platform device for sfp pluggable module 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