LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [peterz-queue:sched/next 48/50] drivers/base/arch_topology.c:626:33: error: 'struct cpu_topology' has no member named 'clister_id'; did you mean 'cluster_id'?
@ 2021-10-07 10:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-07 10:19 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: kbuild-all, linux-kernel, Peter Zijlstra, Tian Tao, Barry Song

[-- Attachment #1: Type: text/plain, Size: 2910 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/next
head:   f623457e16838bcfccc8b171200f793b89dac949
commit: 7488ceebd5dea1978991540dee317264339a1924 [48/50] topology: Represent clusters of CPUs within a die
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=7488ceebd5dea1978991540dee317264339a1924
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue sched/next
        git checkout 7488ceebd5dea1978991540dee317264339a1924
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/base/arch_topology.c: In function 'update_siblings_masks':
>> drivers/base/arch_topology.c:626:33: error: 'struct cpu_topology' has no member named 'clister_id'; did you mean 'cluster_id'?
     626 |                     cpuid_topo->clister_id != -1) {
         |                                 ^~~~~~~~~~
         |                                 cluster_id


vim +626 drivers/base/arch_topology.c

   607	
   608	void update_siblings_masks(unsigned int cpuid)
   609	{
   610		struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid];
   611		int cpu;
   612	
   613		/* update core and thread sibling masks */
   614		for_each_online_cpu(cpu) {
   615			cpu_topo = &cpu_topology[cpu];
   616	
   617			if (cpuid_topo->llc_id == cpu_topo->llc_id) {
   618				cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling);
   619				cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling);
   620			}
   621	
   622			if (cpuid_topo->package_id != cpu_topo->package_id)
   623				continue;
   624	
   625			if (cpuid_topo->cluster_id == cpu_topo->cluster_id &&
 > 626			    cpuid_topo->clister_id != -1) {
   627				cpumask_set_cpu(cpu, &cpuid_topo->cluster_sibling);
   628				cpumask_set_cpu(cpuid, &cpu_topo->cluster_sibling);
   629			}
   630	
   631			cpumask_set_cpu(cpuid, &cpu_topo->core_sibling);
   632			cpumask_set_cpu(cpu, &cpuid_topo->core_sibling);
   633	
   634			if (cpuid_topo->core_id != cpu_topo->core_id)
   635				continue;
   636	
   637			cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling);
   638			cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling);
   639		}
   640	}
   641	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 71089 bytes --]

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

only message in thread, other threads:[~2021-10-07 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 10:19 [peterz-queue:sched/next 48/50] drivers/base/arch_topology.c:626:33: error: 'struct cpu_topology' has no member named 'clister_id'; did you mean 'cluster_id'? 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;
as well as URLs for NNTP newsgroup(s).