[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210180433.jIWk3oPL-lkp@intel.com>
Date: Tue, 18 Oct 2022 04:53:38 +0800
From: kernel test robot <lkp@...el.com>
To: Anup Patel <apatel@...tanamicro.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_sbi_nested_v1 10/43]
drivers/irqchip/irq-riscv-intc.c:90:10: error: 'const struct irq_domain_ops'
has no member named 'alloc'
tree: https://github.com/avpatel/linux.git riscv_sbi_nested_v1
head: dbf52c86cc3d8cadf34862d5d8f7734e92081d1d
commit: 534d7c2ffb0e68dc0be8d703f3bd31c578d32640 [10/43] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-allnoconfig
compiler: riscv64-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://github.com/avpatel/linux/commit/534d7c2ffb0e68dc0be8d703f3bd31c578d32640
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_sbi_nested_v1
git checkout 534d7c2ffb0e68dc0be8d703f3bd31c578d32640
# 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=riscv SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/irqchip/irq-riscv-intc.c:90:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
90 | .alloc = riscv_intc_domain_alloc
| ^~~~~
drivers/irqchip/irq-riscv-intc.c:90:19: warning: excess elements in struct initializer
90 | .alloc = riscv_intc_domain_alloc
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-riscv-intc.c:90:19: note: (near initialization for 'riscv_intc_domain_ops')
vim +90 drivers/irqchip/irq-riscv-intc.c
86
87 static const struct irq_domain_ops riscv_intc_domain_ops = {
88 .map = riscv_intc_domain_map,
89 .xlate = irq_domain_xlate_onecell,
> 90 .alloc = riscv_intc_domain_alloc
91 };
92
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (27584 bytes)
Powered by blists - more mailing lists