tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus head: 6b66ca0bac1b9cee7608d7c4dc59b699458b4cb8 commit: 6b66ca0bac1b9cee7608d7c4dc59b699458b4cb8 [9/9] arch_topology: Make cluster topology span at least SMT CPUs config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20220903/202209030824.SouwDV5M-lkp@xxxxxxxxx/config) compiler: hppa-linux-gcc (GCC) 12.1.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/gregkh/driver-core.git/commit/?id=6b66ca0bac1b9cee7608d7c4dc59b699458b4cb8 git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git git fetch --no-tags driver-core driver-core-linus git checkout 6b66ca0bac1b9cee7608d7c4dc59b699458b4cb8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/base/arch_topology.c: In function 'cpu_clustergroup_mask': drivers/base/arch_topology.c:727:24: error: implicit declaration of function 'cpu_smt_mask'; did you mean 'cpu_cpu_mask'? [-Werror=implicit-function-declaration] 727 | return cpu_smt_mask(cpu); | ^~~~~~~~~~~~ | cpu_cpu_mask >> drivers/base/arch_topology.c:727:24: warning: returning 'int' from a function with return type 'const struct cpumask *' makes pointer from integer without a cast [-Wint-conversion] 727 | return cpu_smt_mask(cpu); | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +727 drivers/base/arch_topology.c 718 719 const struct cpumask *cpu_clustergroup_mask(int cpu) 720 { 721 /* 722 * Forbid cpu_clustergroup_mask() to span more or the same CPUs as 723 * cpu_coregroup_mask(). 724 */ 725 if (cpumask_subset(cpu_coregroup_mask(cpu), 726 &cpu_topology[cpu].cluster_sibling)) > 727 return cpu_smt_mask(cpu); 728 729 return &cpu_topology[cpu].cluster_sibling; 730 } 731 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel