From: kernel test robot <lkp@intel.com>
To: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Peter Zijlstra <peterz@infradead.org>,
Tian Tao <tiantao6@hisilicon.com>,
Barry Song <song.bao.hua@hisilicon.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'?
Date: Thu, 7 Oct 2021 18:19:45 +0800 [thread overview]
Message-ID: <202110071842.mPdANa82-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-10-07 10:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110071842.mPdANa82-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=song.bao.hua@hisilicon.com \
--cc=tiantao6@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox