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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1CECC4829A for ; Tue, 13 Feb 2024 08:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VbfuNDBHN/VYWkwgzlUlb2N0MMoPmbrm64CAM09r/88=; b=ge25HFoXm70Ee8 /DvL3ePmPPiegMBb8+jLTTOHNs2Kpz2yEyFQjFBjN6G4iiu/zLmXFmyeEcBCEuZkxGFWatZfcOQB8 vPjj0aWmm9ecUo8uueCHNTn8+x+hjh+tBvVj6hL9ViKKvPcr3SaahQXXhJ/5TFFGJM5u4ZhA/1Mh8 Cb0qv/pSLV55V+o+9k8IusXMC/k/etTve5J1yD1IyZToJ3eefnxSxFz30xUK1Yw0YeIh/03uDgVz/ HIcGEwEtKBYCUxmPS079h1Hn6UTmYK5qIXjvIHXVJ22D77plDxswoOTJk8aPRUYjxRfqiWt1t7V27 64y+HdOJylDB+7u6xqvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZoUM-00000008V5I-1tDo; Tue, 13 Feb 2024 08:50:02 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZoUJ-00000008V4B-1Eko for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 08:50:01 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 68DFEDA7; Tue, 13 Feb 2024 00:50:36 -0800 (PST) Received: from pluto (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 943EA3F5A1; Tue, 13 Feb 2024 00:49:53 -0800 (PST) Date: Tue, 13 Feb 2024 08:49:51 +0000 From: Cristian Marussi To: kernel test robot Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, sudeep.holla@arm.com, vincent.guittot@linaro.org, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, quic_nkela@quicinc.com, souvik.chakravarty@arm.com Subject: Re: [PATCH 06/11] firmware: arm_scmi: Implement Clock .is_notify_supported callback Message-ID: References: <20240212123233.1230090-7-cristian.marussi@arm.com> <202402131047.2NVZWHma-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202402131047.2NVZWHma-lkp@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_004959_469793_1BE8F3A7 X-CRM114-Status: GOOD ( 19.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 13, 2024 at 10:58:23AM +0800, kernel test robot wrote: > Hi Cristian, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on soc/for-next] > [also build test ERROR on linus/master v6.8-rc4 next-20240212] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > Hi, this series, as stated in the cover-letter, is based off the current tip of sudeep/for-next/scmi/updates and particularly needs commit: 9c5bc650031e firmware: arm_scmi: Rework clock domain info lookups from there, since it contains the missing scmi_clock_domain_lookup(). Not_sure/dont_known if there is any way to convey this "based-on-branch" info to your/any CI at the moment. Thanks, Cristian > url: https://github.com/intel-lab-lkp/linux/commits/Cristian-Marussi/firmware-arm_scmi-Check-for-notification-support/20240212-203727 > base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next > patch link: https://lore.kernel.org/r/20240212123233.1230090-7-cristian.marussi%40arm.com > patch subject: [PATCH 06/11] firmware: arm_scmi: Implement Clock .is_notify_supported callback > config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240213/202402131047.2NVZWHma-lkp@intel.com/config) > compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project c08b90c50bcac9f3f563c79491c8dbcbe7c3b574) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240213/202402131047.2NVZWHma-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/202402131047.2NVZWHma-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> drivers/firmware/arm_scmi/clock.c:853:8: error: call to undeclared function 'scmi_clock_domain_lookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 853 | clk = scmi_clock_domain_lookup(ci, src_id); > | ^ > >> drivers/firmware/arm_scmi/clock.c:853:6: error: incompatible integer to pointer conversion assigning to 'struct scmi_clock_info *' from 'int' [-Wint-conversion] > 853 | clk = scmi_clock_domain_lookup(ci, src_id); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 2 errors generated. > > > vim +/scmi_clock_domain_lookup +853 drivers/firmware/arm_scmi/clock.c > > 842 > 843 static bool scmi_clk_notify_supported(const struct scmi_protocol_handle *ph, > 844 u8 evt_id, u32 src_id) > 845 { > 846 bool supported; > 847 struct scmi_clock_info *clk; > 848 struct clock_info *ci = ph->get_priv(ph); > 849 > 850 if (evt_id >= ARRAY_SIZE(evt_2_cmd)) > 851 return false; > 852 > > 853 clk = scmi_clock_domain_lookup(ci, src_id); > 854 if (IS_ERR(clk)) > 855 return false; > 856 > 857 if (evt_id == SCMI_EVENT_CLOCK_RATE_CHANGED) > 858 supported = clk->rate_changed_notifications; > 859 else > 860 supported = clk->rate_change_requested_notifications; > 861 > 862 return supported; > 863 } > 864 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel