Re: [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Oct 2021, kernel test robot wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   bdcc9f6a568275aed4cc32fd2312432d2ff1b704
> commit: fc97b4d6a1a6d418fd4053fd7716eca746fdd163 [11496/12841] HID: playstation: expose DualSense lightbar through a multi-color LED.
> config: hexagon-randconfig-r013-20211028 (attached as .config)
> compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fc97b4d6a1a6d418fd4053fd7716eca746fdd163
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout fc97b4d6a1a6d418fd4053fd7716eca746fdd163
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
> >> ld.lld: error: undefined symbol: devm_led_classdev_multicolor_register_ext
>    >>> referenced by hid-playstation.c
>    >>> hid/hid-playstation.o:(ps_lightbar_register) in archive drivers/built-in.a
>    >>> referenced by hid-playstation.c
>    >>> hid/hid-playstation.o:(ps_lightbar_register) in archive drivers/built-in.a
> --
> >> ld.lld: error: undefined symbol: led_mc_calc_color_components
>    >>> referenced by hid-playstation.c
>    >>> hid/hid-playstation.o:(dualsense_lightbar_set_brightness) in archive drivers/built-in.a
>    >>> referenced by hid-playstation.c
>    >>> hid/hid-playstation.o:(dualsense_lightbar_set_brightness) in archive drivers/built-in.a

From: Jiri Kosina <jkosina@xxxxxxx>
Subject: [PATCH] HID: playstation: require multicolor LED functionality

The driver requires multicolor LED support; express that in Kconfig.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
---
 drivers/hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 3c33bf572d6d..d78b1c1fb97e 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -868,6 +868,7 @@ config HID_PLANTRONICS
 config HID_PLAYSTATION
 	tristate "PlayStation HID Driver"
 	depends on HID
+	depends on LEDS_CLASS_MULTICOLOR
 	select CRC32
 	select POWER_SUPPLY
 	help
-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux