lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110071842.mPdANa82-lkp@intel.com>
Date:   Thu, 7 Oct 2021 18:19:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jonathan Cameron <Jonathan.Cameron@...wei.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Peter Zijlstra <peterz@...radead.org>,
        Tian Tao <tiantao6@...ilicon.com>,
        Barry Song <song.bao.hua@...ilicon.com>
Subject: [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'?

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (71089 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ