From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABD61C433F5 for ; Mon, 1 Nov 2021 14:13:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2E80860524 for ; Mon, 1 Nov 2021 14:13:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2E80860524 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 76D00940014; Mon, 1 Nov 2021 10:13:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6F52294000F; Mon, 1 Nov 2021 10:13:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 595E3940014; Mon, 1 Nov 2021 10:13:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0154.hostedemail.com [216.40.44.154]) by kanga.kvack.org (Postfix) with ESMTP id 4309394000F for ; Mon, 1 Nov 2021 10:13:28 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id F1DB71802EAD5 for ; Mon, 1 Nov 2021 14:13:27 +0000 (UTC) X-FDA: 78760554054.13.8C7612E Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf08.hostedemail.com (Postfix) with ESMTP id 9482930000AA for ; Mon, 1 Nov 2021 14:13:17 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 24D551FD29; Mon, 1 Nov 2021 14:13:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1635776006; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=why89enCaDF9WCGvUmo4lqZYsx6d3oL7d07jiR6kzCw=; b=jyKFE3+w5uVSoDF4UlMIdQRMKhWD7cCYTM7cCcVQK69pDErIlUBOQOOwrom25doY2ozNNe p+iTU24LKytJ0Cjh/6B5OJG5F4ZwiGU2XY7XKnO/mOeZxeKUqGVk87e9T15Fvq//DLPerE V5h30KJEkFSWkhx8jBG76eyxr/jfTjA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1635776006; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=why89enCaDF9WCGvUmo4lqZYsx6d3oL7d07jiR6kzCw=; b=etmjCrwHhXCD7+tVX4fR5kSsgPWBAUoxj4EyJryR+p28UyNDAIBX55RYf6csXeJupNpeNR 8OAyGNI0RMabvzBw== Received: from pobox.suse.cz (pobox.suse.cz [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 0AD23A3B81; Mon, 1 Nov 2021 14:13:26 +0000 (UTC) Date: Mon, 1 Nov 2021 15:13:25 +0100 (CET) From: Jiri Kosina To: kernel test robot cc: Roderick Colenbrander , llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List Subject: Re: [linux-next:master 11496/12841] ld.lld: error: undefined symbol: led_mc_calc_color_components In-Reply-To: <202110300524.TH5Nas3k-lkp@intel.com> Message-ID: References: <202110300524.TH5Nas3k-lkp@intel.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 9482930000AA X-Stat-Signature: mxwxu1zp8fenokaefrkfa8wk1tzcdy8h Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=jyKFE3+w; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=etmjCrwH; spf=pass (imf08.hostedemail.com: domain of jkosina@suse.cz designates 195.135.220.29 as permitted sender) smtp.mailfrom=jkosina@suse.cz; dmarc=none X-HE-Tag: 1635775997-431604 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 > > 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 Subject: [PATCH] HID: playstation: require multicolor LED functionality The driver requires multicolor LED support; express that in Kconfig. Reported-by: kernel test robot Signed-off-by: Jiri Kosina --- 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