mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [avpatel:riscv_sbi_dbcn_v1 15/42] drivers/irqchip/irq-riscv-intc.c:90:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
@ 2022-08-30 14:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-30 14:42 UTC (permalink / raw)
  To: Anup Patel; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/avpatel/linux.git riscv_sbi_dbcn_v1
head:   74814d446b33fc095867181d8953a92ede0b042c
commit: 17f1dcd006f4ae2d52bb463151339b6af6ff7d08 [15/42] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20220830/202208302216.JZekZCma-lkp@intel.com/config)
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/17f1dcd006f4ae2d52bb463151339b6af6ff7d08
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_sbi_dbcn_v1
        git checkout 17f1dcd006f4ae2d52bb463151339b6af6ff7d08
        # 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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-30 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 14:42 [avpatel:riscv_sbi_dbcn_v1 15/42] drivers/irqchip/irq-riscv-intc.c:90:10: error: 'const struct irq_domain_ops' has no member named 'alloc' 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

all inboxes | Powered by JetHome®