Re: [PATCH v4 09/11] HID: asus: add basic RGB support
From: Jiri Kosina
Date: Tue Mar 25 2025 - 08:14:23 EST
On Tue, 25 Mar 2025, Antheas Kapenekakis wrote:
> > [auto build test ERROR on 38fec10eb60d687e30c8c6b5420d86e8149f7557]
> >
> > url: https://github.com/intel-lab-lkp/linux/commits/Antheas-Kapenekakis/HID-asus-refactor-init-sequence-per-spec/20250325-051852
> > base: 38fec10eb60d687e30c8c6b5420d86e8149f7557
> > patch link: https://lore.kernel.org/r/20250324210151.6042-10-lkml%40antheas.dev
> > patch subject: [PATCH v4 09/11] HID: asus: add basic RGB support
> > config: riscv-randconfig-002-20250325 (https://download.01.org/0day-ci/archive/20250325/202503251316.lPXAIXIV-lkp@xxxxxxxxx/config)
> > compiler: riscv64-linux-gcc (GCC) 14.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250325/202503251316.lPXAIXIV-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/202503251316.lPXAIXIV-lkp@xxxxxxxxx/
> >
> > All errors (new ones prefixed by >>):
> >
> > riscv64-linux-ld: drivers/hid/hid-asus.o: in function `asus_kbd_register_leds':
> > >> drivers/hid/hid-asus.c:676:(.text+0x23f8): undefined reference to `devm_led_classdev_multicolor_register_ext'
> >
>
> Since I have been getting this error by test robot often, what is the
> canonical way to check that KConfig is correct before sending patches?
>
> I will try to fix the KConfig and send it later today
You either need to add driver's dependency on LEDS_CLASS_MULTICOLOR, or
ifdef those parts out in case it's not set.
Thanks,
--
Jiri Kosina
SUSE Labs