Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2740567rdb; Mon, 12 Feb 2024 15:21:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHAs+hanZGj37CbPzRHtHn510Xmxmez+lVtJ/FmzMXmHKZEudgsr4Kqk2t81R7rsT9Xiam X-Received: by 2002:aa7:824c:0:b0:6dd:849a:d30d with SMTP id e12-20020aa7824c000000b006dd849ad30dmr7067641pfn.19.1707780112414; Mon, 12 Feb 2024 15:21:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707780112; cv=pass; d=google.com; s=arc-20160816; b=Oxy/ZqgIDysP1T3LfqpGZZLhKUDs/ZkAb/Kpzj7BRq5RUS422R0Xt1FCAjlskFd3CB MSxi73xJHa2nR0l1j3hMXrhYqW20RW9pG0r5BrH3be0RVmv+kyK9yBZX1hYBTl4CarXn j9EQ1vLfcoUzGl/cjPbe5bCkdlz4tw6N49OBgj68drcuP35q2oqDcSivxrIuPk3/wH58 sPIuXZWkteu2sQJb5f4Hjwf4bIUxH8YMRDd8KbARTrA0eL2MAU6hp3hAk9N+FDNfwRxT hrYyY1VgxqNkje5C8QFhKOWIT81DsGJKz62jf2HBqrWW9kBLmQw9uhpw3Hb9Owo5OjGx 3Qng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6osODrSe7vJ8PLSNlMK5jFP3gafS4I0ugz+X9i2PDy0=; fh=i7R8OCYRC1LfgpZGPhFmJgyFDUMxgLhXTHsvOZ7CPUo=; b=Ty5vlsNtZ8rPUwHrrfVhC1nCE2/yWOPzBI4DSeWNYODjLbBtyjPsfTxjj9JqGJ189j QtN0wGGC+a1jAHicS3isV6CoS8adWqfQqk3EJWN5SNWEUlH+oNgdVr0hu9y5Zn3YrZvz zaDFkUBYH3Dtqs11fC2PfKF0nzFp7iIsKpwHDVHKVQsTFcN4654CRe4ryZZPiq2XUAll hoW2gvNMHiv072WyYUg9OhlmR/tHlLGKDvbsUMswLc/q0ZT1PX/8nty7qKO89WbSUhLW alCL7rK2yJiyXUe3YoqUo3zV0ixhDIgTHNnZSyDHQuaO24EwdCOb7EQ5zKOsVI+5uOV1 v6Pg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=B5thEsZG; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-62527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62527-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXvrYf2n1ynCH2y28Qn4er7+Sk/V+FlJumpNjTD4QULSxB0zxGaJc9WXXIR9AJtPDIotMv6DU+UBDOMvQo4wZo2irf05bpvRAX6mdA1yQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s4-20020a62e704000000b006e09670b2f7si5594650pfh.107.2024.02.12.15.21.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 15:21:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=B5thEsZG; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-62527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62527-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C183AB23DC9 for ; Mon, 12 Feb 2024 23:21:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6143F4F88D; Mon, 12 Feb 2024 23:21:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="B5thEsZG" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E39D4F611 for ; Mon, 12 Feb 2024 23:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707780069; cv=none; b=hbMYNjPygMtTKc7wnCG7oRbQnJBeB/CHefEIc+SR0UBFy6laBGotq3P700CuFXLjk/sjUThgQgLw8i5DfC9j5Y8WZ756LVtESuyjZv3hfuc+9QCKJEk9e58h8EFbYddGKjrNy+lB9z17HM5hhTfMZ9DcTFSJJTRitY+0RxDizC4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707780069; c=relaxed/simple; bh=sEnlAnPtx/b3N5OPsMnT5S5yhEA8bixB/wz+9/zOvWk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=s8KPrIVfrORAURahFEo7IDaLd1E4oe1yIZpA3ao8DI8Vx7k8a8niF/UUHD4Fw24NyW29WiOExzwpQQi+jU9lY+pKb9S7HmJGdYQL7Vlp0hiu9+dCgfRm4jfir5YtQqPRv5GkcRjkG61OxWfzpTM0sJWNuMYwXxBCxBMOM46eh6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=B5thEsZG; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707780068; x=1739316068; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sEnlAnPtx/b3N5OPsMnT5S5yhEA8bixB/wz+9/zOvWk=; b=B5thEsZGbsgCc5ON0y698xu1nwrAs4QTKBCsV8JIWfYTNFjtDVdJ2iRJ 5SjPK2byxJ7wEUKd/j4gZ91y5ejfFhe8fnEDF9hRF0+u3EDjvkiwiv0i5 SAFg+Iu/Pyn19BOs6cA1CZlZSeQe+/Ctn5/BNG0Ift7gk0+3HlpeneB9U c6G5+ryxjsiU7IJ2y3Q5/46ewfWJ2GaG0LttVSE0xeNwPPfUvfVOelQvK aA4fIOltB5ltUqtMJGvCEvrl0KXcXL+y3S2C+/CAduiUD2a78UAdXcQME nwrZY4V+QJePxuOg0yUbgrNbephzcHiuAblE+vJmmycaqLgLjTSBN7eYS w==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="12867752" X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="12867752" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240212123233.1230090-7-cristian.marussi@arm.com> 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