* [tglx-devel:x86/topology 9/37] arch/x86/kernel/cpu/mce/inject.c:437:34: error: 'struct cpuinfo_topology' has no member named 'topo'
@ 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: 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 (https://download.01.org/0day-ci/archive/20230704/202307042053.NZdGHAIs-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230704/202307042053.NZdGHAIs-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/202307042053.NZdGHAIs-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/x86/kernel/cpu/mce/inject.c: In function 'get_nbc_for_node':
>> arch/x86/kernel/cpu/mce/inject.c:437:34: error: 'struct cpuinfo_topology' has no member named 'topo'
437 | cores_per_node = (c->topo.topo.num_cores_per_pkg * smp_num_siblings) /
| ^
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:34: error: 'struct cpuinfo_topology' has no member named 'topo' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.