* [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components
@ 2021-10-29 21:01 kernel test robot
2021-11-01 14:13 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-10-29 21:01 UTC (permalink / raw)
To: Roderick Colenbrander
Cc: llvm, kbuild-all, Linux Memory Management List, Jiri Kosina
[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]
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@intel.com>
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
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35364 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components
2021-10-29 21:01 [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components kernel test robot
@ 2021-11-01 14:13 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2021-11-01 14:13 UTC (permalink / raw)
To: kernel test robot
Cc: Roderick Colenbrander, llvm, kbuild-all, Linux Memory Management List
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@intel.com>
>
> 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@suse.cz>
Subject: [PATCH] HID: playstation: require multicolor LED functionality
The driver requires multicolor LED support; express that in Kconfig.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-01 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 21:01 [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components kernel test robot
2021-11-01 14:13 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox