linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: kernel test robot <lkp@intel.com>
Cc: Roderick Colenbrander <roderick@gaikai.com>,
	llvm@lists.linux.dev,  kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components
Date: Mon, 1 Nov 2021 15:13:25 +0100 (CET)	[thread overview]
Message-ID: <nycvar.YFH.7.76.2111011513020.12554@cbobk.fhfr.pm> (raw)
In-Reply-To: <202110300524.TH5Nas3k-lkp@intel.com>

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


      reply	other threads:[~2021-11-01 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 21:01 kernel test robot
2021-11-01 14:13 ` Jiri Kosina [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=nycvar.YFH.7.76.2111011513020.12554@cbobk.fhfr.pm \
    --to=jkosina@suse.cz \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=roderick@gaikai.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox