tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9250d2f72dc46a808b6aa23bf50dd670f1f52ddc commit: dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7 [11182/13276] irqchip: Add Loongson Extended I/O interrupt controller support config: loongarch-randconfig-r011-20220727 (https://download.01.org/0day-ci/archive/20220728/202207280941.Nm6nDgFH-lkp@xxxxxxxxx/config) compiler: loongarch64-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/next/linux-next.git/commit/?id=dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7 # 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=loongarch SHELL=/bin/bash drivers/irqchip/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/irqchip/irq-loongson-eiointc.c: In function 'cpu_to_eio_node': >> drivers/irqchip/irq-loongson-eiointc.c:60:16: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration] 60 | return cpu_logical_map(cpu) / CORES_PER_EIO_NODE; | ^~~~~~~~~~~~~~~ drivers/irqchip/irq-loongson-eiointc.c: At top level: drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent' [-Wmissing-prototypes] 289 | struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group) | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/cpu_logical_map +60 drivers/irqchip/irq-loongson-eiointc.c 57 58 static int cpu_to_eio_node(int cpu) 59 { > 60 return cpu_logical_map(cpu) / CORES_PER_EIO_NODE; 61 } 62 -- 0-DAY CI Kernel Test Service https://01.org/lkp