* [tglx-devel:x86/topology 9/37] arch/x86/kernel/cpu/mce/inject.c:437:28: error: no member named 'topo' in 'struct cpuinfo_topology'
@ 2023-07-04 13:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-04 13:06 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: llvm, oe-kbuild-all
Hi Thomas,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/topology
head: 53cee0c91c9944ef2e6b784edaea5df7d6ba5648
commit: 1f177511c113ba6edd3963a1a52180f6df4845b1 [9/37] x86/cpu: Move x86_max_cores into topology info
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20230704/202307042007.RqEO152e-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20230704/202307042007.RqEO152e-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/202307042007.RqEO152e-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/x86/kernel/cpu/mce/inject.c:437:28: error: no member named 'topo' in 'struct cpuinfo_topology'
cores_per_node = (c->topo.topo.num_cores_per_pkg * smp_num_siblings) /
~~~~~~~ ^
1 error generated.
vim +437 arch/x86/kernel/cpu/mce/inject.c
431
432 static u32 get_nbc_for_node(int node_id)
433 {
434 struct cpuinfo_x86 *c = &boot_cpu_data;
435 u32 cores_per_node;
436
> 437 cores_per_node = (c->topo.topo.num_cores_per_pkg * smp_num_siblings) /
438 amd_get_nodes_per_socket();
439
440 return cores_per_node * node_id;
441 }
442
--
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:[~2023-07-04 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 13:06 [tglx-devel:x86/topology 9/37] arch/x86/kernel/cpu/mce/inject.c:437:28: error: no member named 'topo' in 'struct cpuinfo_topology' 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).