* [linux-next:master 11182/13276] drivers/irqchip/irq-loongson-eiointc.c:60:16: error: implicit declaration of function 'cpu_logical_map'
@ 2022-07-28 1:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-28 1:45 UTC (permalink / raw)
To: Huacai Chen
Cc: kbuild-all, Linux Memory Management List, Marc Zyngier, Jianmin Lv
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@intel.com/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@intel.com>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-28 1:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-28 1:45 [linux-next:master 11182/13276] drivers/irqchip/irq-loongson-eiointc.c:60:16: error: implicit declaration of function 'cpu_logical_map' 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