public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [rafael-pm:intel_pstate-testing 13/14] arch/x86/kernel/smpboot.c:129:1: sparse: sparse: symbol '__pcpu_scope_arch_cpu_scale' was not declared. Should it be static?
@ 2024-03-29 14:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-29 14:13 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:   9e188470f00d32c31b5be6f701ed94e6cce3a195
commit: fbc05ec06cbf10eb71658eb41582c0df7098b95b [13/14] x86/sched: Add basic support for CPU capacity scaling
config: i386-randconfig-061-20240329 (https://download.01.org/0day-ci/archive/20240329/202403292251.KAvVZtwd-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403292251.KAvVZtwd-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/202403292251.KAvVZtwd-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/x86/kernel/smpboot.c:129:1: sparse: sparse: symbol '__pcpu_scope_arch_cpu_scale' was not declared. Should it be static?
   arch/x86/kernel/smpboot.c: note: in included file (through include/linux/mmzone.h, include/linux/topology.h, include/linux/sched/topology.h, ...):
   include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
   include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
   arch/x86/kernel/smpboot.c: note: in included file (through arch/x86/include/asm/mmu_context.h, include/linux/mmu_context.h, include/linux/cpuset.h):
   arch/x86/include/asm/desc.h:54:16: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void const [noderef] __percpu *__vpp_verify @@     got struct gdt_page * @@
   arch/x86/include/asm/desc.h:54:16: sparse:     expected void const [noderef] __percpu *__vpp_verify
   arch/x86/include/asm/desc.h:54:16: sparse:     got struct gdt_page *

vim +/__pcpu_scope_arch_cpu_scale +129 arch/x86/kernel/smpboot.c

   127	
   128	/* CPU capacity scaling support */
 > 129	DEFINE_PER_CPU(unsigned long, arch_cpu_scale) = SCHED_CAPACITY_SCALE;
   130	

-- 
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-29 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-29 14:13 [rafael-pm:intel_pstate-testing 13/14] arch/x86/kernel/smpboot.c:129:1: sparse: sparse: symbol '__pcpu_scope_arch_cpu_scale' was not declared. Should it be static? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox