From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 524521B219B; Wed, 4 Dec 2024 11:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733311389; cv=none; b=cZ9WWlAhb67LN8CX7wRL5gNc/Ymzm3P0sz4P5B4RYeQ6BISDMZSbHpB79tdmYGE0VNRGNqvbhqKgjRDwCdXAO95l18A+qoNlx900zbQPicDZBgaiqOOER17h6DVxKuU4yHNjoVZLybGm7gzc9W8QKxJhXErQAlHHioRLQ5yBovU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733311389; c=relaxed/simple; bh=1UrW0T5gTeFR5ZqJIagqMlnLwC4w48IaQA0fvyV/TAk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BhrfGNnxdjH4YDPORX+MUDrwiFPqS7DqrRVpbcXRzrU2jILMAQp/tLUD9yiX/IdAjM9TVed9sOMMasXcVmRgsb5ILnpFyWqy2M0HQ8E1CI9n4EM2KQDK5uRvSpIp+Pq8HNcvLjkNJQEYYwnjBDdqmZwN842cKEVkRSFcjJcyefY= 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=jI7OsA3u; arc=none smtp.client-ip=192.198.163.8 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jI7OsA3u" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1733311387; x=1764847387; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1UrW0T5gTeFR5ZqJIagqMlnLwC4w48IaQA0fvyV/TAk=; b=jI7OsA3uAZdPJXpzS0vmdONBHaGkzJi2MfcFx8pN7C80f2o9Cz8A6myT hqfDkBTotcpvuZc3ivQ42ZxNXKWNmGMUDXXKfQihW8eXkVRUbUk1SqTgL 9lu6UB7liVUMtC5Drpfb+sBnWlZEcYn1v6y2GNOohIVtCX+jtHDwBhhM3 bAqeqhRzUBz0aFwJ/m0/om+aiWo8PbmmXeqI6wWflXD1e3IISiO5z0oAg 4NxVn2yR4Ylu6Z1cavN09LzDwutcL7wyw/QmHVloqstEqNgCcQV9YA0o/ VCVmZO9y+tsARpOTvOjyJDhvZWkNLXiuGaB9IGdlH0F88ExWVQ8UBo/6C Q==; X-CSE-ConnectionGUID: fDm92dahQwWAaEKP5UkBsg== X-CSE-MsgGUID: B5Av/RNjScSeRp3wO3bLyA== X-IronPort-AV: E=McAfee;i="6700,10204,11275"; a="51104512" X-IronPort-AV: E=Sophos;i="6.12,207,1728975600"; d="scan'208";a="51104512" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2024 03:23:06 -0800 X-CSE-ConnectionGUID: Bw0VxzZDTAWBEAGeAPt7Jg== X-CSE-MsgGUID: u8JqkpE1QnyTeWMV2ZXw7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,207,1728975600"; d="scan'208";a="98726048" Received: from lkp-server02.sh.intel.com (HELO 1f5a171d57e2) ([10.239.97.151]) by orviesa005.jf.intel.com with ESMTP; 04 Dec 2024 03:23:03 -0800 Received: from kbuild by 1f5a171d57e2 with local (Exim 4.96) (envelope-from ) id 1tInTA-0002wW-1q; Wed, 04 Dec 2024 11:23:00 +0000 Date: Wed, 4 Dec 2024 19:22:41 +0800 From: kernel test robot To: Christian Marangi , "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@airoha.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v5 2/2] cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver Message-ID: <202412041929.8aCqrGnO-lkp@intel.com> References: <20241203163158.580-2-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: devicetree@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: <20241203163158.580-2-ansuelsmth@gmail.com> Hi Christian, kernel test robot noticed the following build errors: [auto build test ERROR on rafael-pm/linux-next] [also build test ERROR on rafael-pm/bleeding-edge robh/for-next linus/master v6.13-rc1 next-20241203] [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/Christian-Marangi/cpufreq-airoha-Add-EN7581-CPUFreq-SMCCC-driver/20241204-113105 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next patch link: https://lore.kernel.org/r/20241203163158.580-2-ansuelsmth%40gmail.com patch subject: [PATCH v5 2/2] cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver config: arm-randconfig-003 (https://download.01.org/0day-ci/archive/20241204/202412041929.8aCqrGnO-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241204/202412041929.8aCqrGnO-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/202412041929.8aCqrGnO-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/cpufreq/airoha-cpufreq.c:41:34: error: variable has incomplete type 'const struct arm_smccc_1_2_regs' 41 | const struct arm_smccc_1_2_regs args = { | ^ drivers/cpufreq/airoha-cpufreq.c:41:15: note: forward declaration of 'struct arm_smccc_1_2_regs' 41 | const struct arm_smccc_1_2_regs args = { | ^ >> drivers/cpufreq/airoha-cpufreq.c:45:28: error: variable has incomplete type 'struct arm_smccc_1_2_regs' 45 | struct arm_smccc_1_2_regs res; | ^ drivers/cpufreq/airoha-cpufreq.c:41:15: note: forward declaration of 'struct arm_smccc_1_2_regs' 41 | const struct arm_smccc_1_2_regs args = { | ^ >> drivers/cpufreq/airoha-cpufreq.c:47:2: error: call to undeclared function 'arm_smccc_1_2_smc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | arm_smccc_1_2_smc(&args, &res); | ^ drivers/cpufreq/airoha-cpufreq.c:81:34: error: variable has incomplete type 'const struct arm_smccc_1_2_regs' 81 | const struct arm_smccc_1_2_regs args = { | ^ drivers/cpufreq/airoha-cpufreq.c:81:15: note: forward declaration of 'struct arm_smccc_1_2_regs' 81 | const struct arm_smccc_1_2_regs args = { | ^ drivers/cpufreq/airoha-cpufreq.c:86:28: error: variable has incomplete type 'struct arm_smccc_1_2_regs' 86 | struct arm_smccc_1_2_regs res; | ^ drivers/cpufreq/airoha-cpufreq.c:81:15: note: forward declaration of 'struct arm_smccc_1_2_regs' 81 | const struct arm_smccc_1_2_regs args = { | ^ drivers/cpufreq/airoha-cpufreq.c:88:2: error: call to undeclared function 'arm_smccc_1_2_smc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | arm_smccc_1_2_smc(&args, &res); | ^ 6 errors generated. vim +41 drivers/cpufreq/airoha-cpufreq.c 37 38 static unsigned long airoha_cpufreq_clk_get(struct clk_hw *hw, 39 unsigned long parent_rate) 40 { > 41 const struct arm_smccc_1_2_regs args = { 42 .a0 = AIROHA_SIP_AVS_HANDLE, 43 .a1 = AIROHA_AVS_OP_GET_FREQ, 44 }; > 45 struct arm_smccc_1_2_regs res; 46 > 47 arm_smccc_1_2_smc(&args, &res); 48 49 /* SMCCC returns freq in MHz */ 50 return (int)(res.a0 * 1000 * 1000); 51 } 52 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki