arm-linux-gnueabi-ld: drivers/net/dsa/realtek/rtl8366rb.c:980:undefined reference to `devm_led_classdev_register_ext'
From: kernel test robot
Date: Wed Sep 04 2024 - 00:33:39 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 88fac17500f4ea49c7bac136cf1b27e7b9980075
commit: 32d617005475a71ebcc4ec8b2791e8d1481e9a10 net: dsa: realtek: add LED drivers for rtl8366rb
date: 4 months ago
config: arm-randconfig-r062-20240812 (https://download.01.org/0day-ci/archive/20240904/202409041221.YNEn6wcn-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240904/202409041221.YNEn6wcn-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409041221.YNEn6wcn-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: drivers/net/dsa/realtek/rtl8366rb.o: in function `rtl8366rb_setup_led':
drivers/net/dsa/realtek/rtl8366rb.c:953:(.text.unlikely+0x6ac): undefined reference to `led_init_default_state_get'
>> arm-linux-gnueabi-ld: drivers/net/dsa/realtek/rtl8366rb.c:980:(.text.unlikely+0x850): undefined reference to `devm_led_classdev_register_ext'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki