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 10D65C4829D for ; Mon, 12 Feb 2024 23:21:30 +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=RDjL8rgE5w3Dk7LpDCBS/ev7l2G6qCGwONwNufzwWJ0=; b=2A/D0HMCVdVBgr gFjk5tbwOPFUEzGU+tkQTLY9/mINTvSGvgGH2sPOc4jrlWD4vegvx/8MCUfy7ku22Wyyt2gdRSdib nqih9pE0S0rS9EIiv3NredQkY55OmXzu5aaZxx1tTR005ROHFRYzEr4dwf6Ime6LFRKW9qE97NXG3 FcbQS4kN98KLvShDndsTaBRk4ZwVP0Iv9hnGWo2fYlTzrkeSy1C+dmPge2EyJUzy1bYvHwcq3dysM H2J9hvSnGi73BxxXjy/1gkAE4W9RfsBSg8P5E00e8XiuqHUWwgjnYu/t/Er3RnGHX2eXA3fFw5LKA +v8ptEqNMOMZ2RbnjAoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZfbx-00000007FtY-0mri; Mon, 12 Feb 2024 23:21:17 +0000 Received: from mgamail.intel.com ([198.175.65.13]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZfbu-00000007Fsz-0ddc for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2024 23:21:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707780075; x=1739316075; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sEnlAnPtx/b3N5OPsMnT5S5yhEA8bixB/wz+9/zOvWk=; b=HHDeNy4LXZAjLJ4YU9IFR7nX5TtA6Tf5F8PLzimFYoZz+/1tJvpKpbIj S5RcTJ6SDS8M6sj3J7CaYtIe8frpcqHU4zN92lJQmmDQ8lJtM5DCD4Z5U /LxSut/voNFideP27JArVN8n68kZAoCOTxw6XRcZCaRgu9uh+r1qDlvv6 KvIWgxjKPAK1aTtR6aGshUMkj+ZawlteQ+3hNnJBzIqzdrsouvF8E/uZ9 IJh4CwWdZOZq3bhqotCOmDuDVAa/kkEWBK2Zc5hlJATHM/WgGuDeb8aT4 EHXPoE72x4P28ePJ5OvskwOf+R7jCah9XtLvpdkgagTPjQMGQ29Y6cTei g==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="12867755" X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="12867755" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 15:21:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="2678247" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 12 Feb 2024 15:21:03 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rZfbh-0007PW-1A; Mon, 12 Feb 2024 23:21:01 +0000 Date: Tue, 13 Feb 2024 07:20:24 +0800 From: kernel test robot To: Cristian Marussi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: 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, Cristian Marussi Subject: Re: [PATCH 06/11] firmware: arm_scmi: Implement Clock .is_notify_supported callback Message-ID: <202402130758.vkfAqrx0-lkp@intel.com> References: <20240212123233.1230090-7-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240212123233.1230090-7-cristian.marussi@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_152114_258981_7D12A6F7 X-CRM114-Status: GOOD ( 11.70 ) 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 Hi Cristian, kernel test robot noticed the following build warnings: [auto build test WARNING on soc/for-next] [also build test WARNING 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] 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: arm-defconfig (https://download.01.org/0day-ci/archive/20240213/202402130758.vkfAqrx0-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240213/202402130758.vkfAqrx0-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/202402130758.vkfAqrx0-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/firmware/arm_scmi/clock.c:853:8: error: implicit declaration of function 'scmi_clock_domain_lookup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] clk = scmi_clock_domain_lookup(ci, src_id); ^ >> drivers/firmware/arm_scmi/clock.c:853:6: warning: incompatible integer to pointer conversion assigning to 'struct scmi_clock_info *' from 'int' [-Wint-conversion] clk = scmi_clock_domain_lookup(ci, src_id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. vim +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