Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2443649rdb; Mon, 20 Nov 2023 10:53:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfjZqtA9uMRG5H7XeGVXrVJympjAA0GBm8LIgSk9PPv9WFryunF4rGCYvsyhwZioXlBBb+ X-Received: by 2002:a17:903:2287:b0:1cc:5ce4:f64b with SMTP id b7-20020a170903228700b001cc5ce4f64bmr529646plh.8.1700506389501; Mon, 20 Nov 2023 10:53:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700506389; cv=none; d=google.com; s=arc-20160816; b=EpiRwoQqquO8PKv52wkkseCtV9H9LWLM4ES5ZvrqSDm7oZDtj3u75+1+wzMAXZvrl3 yR9dkBbjCBOSg10s6mPF8wn68u6Fi8k17HniPR54tsirGQwThe5PWEagHEpZUR7MnJjG 1F5Qc80Q7MWQWObm/RVkVSMN0wS4Yd34UEJqOsJwvj6qu/AJX1Ff2ex0YxBaKnQ9XWy/ NP99fa3coGPdecb8ga7FhYyFSwq0i1YFhoWVdQ+QESg0Y4nzbj3rStYF4DDBJdySA0ZM PRFx9VJ7KopvM/HlhdfVOhVpjQXNWtUBnWep68sCEURy3FKMQdgOm56Fvg5A32Y5WzSl j5YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=vIO2MfwHxVMHTNO52b54tjZdw0rg13GZkrynMOYmm2Q=; fh=7NLgFhY7c1WXjlsun0bI44gnmA8aTcRufpGdLCI414A=; b=Gej7wIjiKn3Z5vUWFtLNAgdS20ACyKD3+sc7AiIaUMEp8P1EmhjXoedvA4RmMko4u+ vdfm4q4PTp1PqbS7cxjJmymVP4jibv2P3zMtu/leMDcbET8SqRXZG2rSAsvkMJUHc4gd iDcf3DaneldTvPUy7SXm+/mbLftljM00FrRVtThxRr48PCHQPKDLsVZlZ79/CIz38o/p TR6O7xCi8gxmZNviMc+0d+IGhDrjUj4/MDJWFlKhFQaK3PQfogiyVPgT/GGhYKZDpPUc 5yBbFUWOi4qMLPc0u0eNPtgFCIzci0AytQVW4bMRXweEA3pyEsj6OindddTqbg/JKTFs M2QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inh0TqdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p9-20020a170902bd0900b001ce5b6de761si8329443pls.447.2023.11.20.10.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 10:53:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=inh0TqdM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7B85D80A97C8; Mon, 20 Nov 2023 10:52:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232300AbjKTSwE (ORCPT + 99 others); Mon, 20 Nov 2023 13:52:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbjKTSwC (ORCPT ); Mon, 20 Nov 2023 13:52:02 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADCD10C for ; Mon, 20 Nov 2023 10:51:58 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2140CC433A9; Mon, 20 Nov 2023 18:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700506318; bh=/y1WcR4WAPSEpdbW+Ovo99aBUdTETZw1aIUEB6GBZtY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=inh0TqdMUSF+ovlAaMFAUC8ztpGMVa3lW52iP1A4CcnJXNRxhHUglENfZNeiLqQjU NnccNjYCbxo8ZwPPGrKCJd2F5nCQUR49FBzzt7vny5A16wWlG6qmO+4vGWjWnPnl2d k0TiFUmGXEXn2/TBtJgfQENmVBMy6zvQY0/9dPApCT2hAyarFhZPloa5Vfv0RD4KuE Danr6HKmJllG1Z6ISbkUZAhPlKw2KWJIconRwl7lQL3y3N5f4legx8rxkImxIJsVAG zyre4QUQ8LTL8xPVulXV2RwOfo60ecAvKAR3VwpXASgRv9uv94RGNaiqd48eMHaWbL ikmiDkQnzgs0g== Message-ID: <220a0b53-14eb-445a-9232-f8df314a29bf@kernel.org> Date: Mon, 20 Nov 2023 19:51:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: drivers/firmware/qcom/qcom_scm.c:1652:34: warning: unused variable 'qcom_scm_qseecom_allowlist' Content-Language: en-US To: Maximilian Luz , Bjorn Andersson Cc: llvm@lists.linux.dev, Bartosz Golaszewski , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, kernel test robot References: <202311191654.S4wlVUrz-lkp@intel.com> From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2b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JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 10:52:27 -0800 (PST) On 20/11/2023 19:19, Maximilian Luz wrote: > > > On 11/19/23 10:13, kernel test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 037266a5f7239ead1530266f7d7af153d2a867fa >> commit: bdac188ec3c71800dd8419620224ee74ef37732a firmware: qcom: move Qualcomm code into its own directory >> date: 4 weeks ago >> config: s390-randconfig-002-20231119 (https://download.01.org/0day-ci/archive/20231119/202311191654.S4wlVUrz-lkp@intel.com/config) >> compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) >> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231119/202311191654.S4wlVUrz-lkp@intel.com/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 >> | Closes: https://lore.kernel.org/oe-kbuild-all/202311191654.S4wlVUrz-lkp@intel.com/ >> >> All warnings (new ones prefixed by >>): > > [...] > >>>> drivers/firmware/qcom/qcom_scm.c:1652:34: warning: unused variable 'qcom_scm_qseecom_allowlist' [-Wunused-const-variable] >> 1652 | static const struct of_device_id qcom_scm_qseecom_allowlist[] = { >> | ^ > > Any ideas why this is supposedly unused? It should be accessed through > qcom_scm_qseecom_init() and qcom_scm_qseecom_machine_is_allowed(). > Especially if CONFIG_QCOM_QSEECOM=y. And in other cases? The bot reports specific failure on specific config. You have the config for this arch attached, so you can investigate. Anyway, short look at the code indeed tells it is unused. It's not referenced anywhere except of_match_node(). I can fix this. Best regards, Krzysztof