* ld.lld: error: undefined symbol: led_classdev_multicolor_unregister
@ 2026-09-17 21:26 kernel test robot
2026-09-18 2:14 ` Ping-Ke Shih
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-09-17 21:26 UTC (permalink / raw)
To: Johnson Tsai; +Cc: oe-kbuild-all, linux-kernel, Ping-Ke Shih
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b5a051f6b840d48f159166ef073d3021989bfb50
commit: 721d90c8509aee195c3714b70c4cff612fbb3a1c wifi: rtw89: add multicolor LED support for RTL8852CU valve board
date: 8 weeks ago
config: hexagon-randconfig-r072-20260915 (https://download.01.org/0day-ci/archive/20260917/202609172315.ZYoKvKBS-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260917/202609172315.ZYoKvKBS-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
| Fixes: 721d90c8509a ("wifi: rtw89: add multicolor LED support for RTL8852CU valve board")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609172315.ZYoKvKBS-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: led_classdev_multicolor_register_ext
>>> referenced by led_mc.c:67 (drivers/net/wireless/realtek/rtw89/led_mc.c:67)
>>> drivers/net/wireless/realtek/rtw89/led_mc.o:(rtw89_led_mc_init) in archive vmlinux.a
>>> referenced by led_mc.c:67 (drivers/net/wireless/realtek/rtw89/led_mc.c:67)
>>> drivers/net/wireless/realtek/rtw89/led_mc.o:(rtw89_led_mc_init) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: led_classdev_multicolor_unregister
>>> referenced by led_mc.c:80 (drivers/net/wireless/realtek/rtw89/led_mc.c:80)
>>> drivers/net/wireless/realtek/rtw89/led_mc.o:(rtw89_led_mc_deinit) in archive vmlinux.a
>>> referenced by led_mc.c:80 (drivers/net/wireless/realtek/rtw89/led_mc.c:80)
>>> drivers/net/wireless/realtek/rtw89/led_mc.o:(rtw89_led_mc_deinit) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: ld.lld: error: undefined symbol: led_classdev_multicolor_unregister
2026-09-17 21:26 ld.lld: error: undefined symbol: led_classdev_multicolor_unregister kernel test robot
@ 2026-09-18 2:14 ` Ping-Ke Shih
0 siblings, 0 replies; 2+ messages in thread
From: Ping-Ke Shih @ 2026-09-18 2:14 UTC (permalink / raw)
To: kernel test robot, Johnson Tsai; +Cc: oe-kbuild-all, linux-kernel
kernel test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: b5a051f6b840d48f159166ef073d3021989bfb50
> commit: 721d90c8509aee195c3714b70c4cff612fbb3a1c wifi: rtw89: add multicolor LED support for RTL8852CU
> valve board
> date: 8 weeks ago
> config: hexagon-randconfig-r072-20260915
> (https://download.01.org/0day-ci/archive/20260917/202609172315.ZYoKvKBS-lkp@intel.com/config)
> compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project
> 6009708b4367171ccdbf4b5905cb6a803753fe18)
> smatch: v0.5.0-9187-g5189e3fb
> reproduce (this is a W=1 build):
> (https://download.01.org/0day-ci/archive/20260917/202609172315.ZYoKvKBS-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
> | Fixes: 721d90c8509a ("wifi: rtw89: add multicolor LED support for RTL8852CU valve board")
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202609172315.ZYoKvKBS-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> ld.lld: error: undefined symbol: led_classdev_multicolor_register_ext
Thanks for the report. This is because multicolor is kernel module
CONFIG_LEDS_CLASS_MULTICOLOR=m
but rtw89 is built-in
CONFIG_RTW89=y
CONFIG_RTW89_LEDS_MC=y
Correct the dependency in Kconfig to avoid this case. [1]
[1] https://lore.kernel.org/linux-wireless/20260918021113.25481-1-pkshih@realtek.com/T/#u
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-18 2:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 21:26 ld.lld: error: undefined symbol: led_classdev_multicolor_unregister kernel test robot
2026-09-18 2:14 ` Ping-Ke Shih
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®