Open GustavoARSilva opened 1 year ago
Found after building (next-20230622) risc64 with defconfig:
drivers/base/arch_topology.c: In function 'update_siblings_masks': drivers/base/arch_topology.c:734:67: warning: array subscript 64 is above array bounds of 'struct cpu_topology[64]' [-Warray-bounds=] 734 | struct cpu_topology *cpu_topo, *cpuid_topo = &cpu_topology[cpuid]; | ~~~~~~~~~~~~^~~~~~~
Found after building (next-20230622) risc64 with defconfig: