All of lore.kernel.org
 help / color / mirror / Atom feed
* [rafael-pm:intel_pstate-testing 14/14] drivers/cpufreq/intel_pstate.c:963:2: error: implicit declaration of function 'arch_set_cpu_capacity'; did you mean 'arch_scale_cpu_capacity'?
@ 2024-03-28 15:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-28 15:55 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: oe-kbuild-all, linux-acpi, devel, linux-pm

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git intel_pstate-testing
head:   16303764deedb814defe7e69712edec6a09b50ad
commit: 16303764deedb814defe7e69712edec6a09b50ad [14/14] cpufreq: intel_pstate: Set asymmetric CPU capacity on hybrid systems
config: x86_64-randconfig-161-20240328 (https://download.01.org/0day-ci/archive/20240328/202403282334.VfY1MU72-lkp@intel.com/config)
compiler: gcc-10 (Ubuntu 10.5.0-1ubuntu1) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240328/202403282334.VfY1MU72-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403282334.VfY1MU72-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/cpufreq/intel_pstate.c: In function 'hybrid_set_cpu_capacity':
>> drivers/cpufreq/intel_pstate.c:963:2: error: implicit declaration of function 'arch_set_cpu_capacity'; did you mean 'arch_scale_cpu_capacity'? [-Werror=implicit-function-declaration]
     963 |  arch_set_cpu_capacity(cpu->cpu, cap);
         |  ^~~~~~~~~~~~~~~~~~~~~
         |  arch_scale_cpu_capacity
   cc1: some warnings being treated as errors


vim +963 drivers/cpufreq/intel_pstate.c

   957	
   958	static void hybrid_set_cpu_capacity(struct cpudata *cpu)
   959	{
   960		u64 cap = div_u64((u64)SCHED_CAPACITY_SCALE * cpu->capacity_perf,
   961				  hybrid_max_perf_cpu->capacity_perf);
   962	
 > 963		arch_set_cpu_capacity(cpu->cpu, cap);
   964	}
   965	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-28 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 15:55 [rafael-pm:intel_pstate-testing 14/14] drivers/cpufreq/intel_pstate.c:963:2: error: implicit declaration of function 'arch_set_cpu_capacity'; did you mean 'arch_scale_cpu_capacity'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.