All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: kernel test robot <lkp@intel.com>,
	Johnson Tsai <wenjie.tsai@realtek.com>
Cc: "oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: ld.lld: error: undefined symbol: led_classdev_multicolor_unregister
Date: Fri, 18 Sep 2026 02:14:19 +0000	[thread overview]
Message-ID: <98a3ae2c705b4465b98c64c4b661ff43@realtek.com> (raw)
In-Reply-To: <202609172315.ZYoKvKBS-lkp@intel.com>

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



      reply	other threads:[~2026-09-18  2:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98a3ae2c705b4465b98c64c4b661ff43@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wenjie.tsai@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.