2024-06-16 03:55:24

by kernel test robot

[permalink] [raw]
Subject: csky-linux-ld: rtl8366rb.c:undefined reference to `devm_led_classdev_register_ext'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a3e18a540541325a8c8848171f71e0d45ad30b2c
commit: 32d617005475a71ebcc4ec8b2791e8d1481e9a10 net: dsa: realtek: add LED drivers for rtl8366rb
date: 7 weeks ago
config: csky-randconfig-s031-20230329 (https://download.01.org/0day-ci/archive/20240616/[email protected]/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240616/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

csky-linux-ld: drivers/net/dsa/realtek/rtl8366rb.o: in function `rtl8366rb_setup_led':
rtl8366rb.c:(.text+0xff8): undefined reference to `led_init_default_state_get'
>> csky-linux-ld: rtl8366rb.c:(.text+0x10ce): undefined reference to `devm_led_classdev_register_ext'
>> csky-linux-ld: rtl8366rb.c:(.text+0x10f4): undefined reference to `led_init_default_state_get'
csky-linux-ld: rtl8366rb.c:(.text+0x110c): undefined reference to `devm_led_classdev_register_ext'

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