All of lore.kernel.org
 help / color / mirror / Atom feed
* [avpatel:riscv_aclint_v2 8/13] drivers/irqchip/irq-aclint-swi.c:165:2: error: too many arguments to function 'riscv_ipi_set_virq_range'
@ 2021-06-18  2:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-18  2:05 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2736 bytes --]

tree:   https://github.com/avpatel/linux.git riscv_aclint_v2
head:   7dfc87079d3bd32cf6acf24c246204ca31a109e2
commit: bb7ca6d293e66ae0019e3dbd94ea35e4dfbcbe79 [8/13] irqchip: Add ACLINT software interrupt driver
config: riscv-randconfig-r002-20210617 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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/bb7ca6d293e66ae0019e3dbd94ea35e4dfbcbe79
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_aclint_v2
        git checkout bb7ca6d293e66ae0019e3dbd94ea35e4dfbcbe79
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/irqchip/irq-aclint-swi.c: In function 'aclint_swi_set_virq':
>> drivers/irqchip/irq-aclint-swi.c:165:2: error: too many arguments to function 'riscv_ipi_set_virq_range'
     165 |  riscv_ipi_set_virq_range(virq, BITS_PER_LONG, true);
         |  ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/riscv/include/asm/tlbflush.h:11,
                    from arch/riscv/include/asm/pgtable.h:87,
                    from include/linux/pgtable.h:6,
                    from arch/riscv/include/asm/io.h:15,
                    from include/linux/io.h:13,
                    from drivers/irqchip/irq-aclint-swi.c:9:
   arch/riscv/include/asm/smp.h:113:20: note: declared here
     113 | static inline void riscv_ipi_set_virq_range(int virq, int nr)
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/riscv_ipi_set_virq_range +165 drivers/irqchip/irq-aclint-swi.c

   147	
   148	static int __init aclint_swi_set_virq(void)
   149	{
   150		int virq;
   151		struct irq_fwspec ipi = {
   152			.fwnode		= aclint_swi_domain->fwnode,
   153			.param_count	= 1,
   154			.param[0]	= 0,
   155		};
   156	
   157		virq = __irq_domain_alloc_irqs(aclint_swi_domain, -1, BITS_PER_LONG,
   158					       NUMA_NO_NODE, &ipi,
   159					       false, NULL);
   160		if (virq <= 0) {
   161			pr_err("unable to alloc IRQs from SBI IPI IRQ domain\n");
   162			return -ENOMEM;
   163		}
   164	
 > 165		riscv_ipi_set_virq_range(virq, BITS_PER_LONG, true);
   166	
   167		return 0;
   168	}
   169	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38718 bytes --]

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

only message in thread, other threads:[~2021-06-18  2:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18  2:05 [avpatel:riscv_aclint_v2 8/13] drivers/irqchip/irq-aclint-swi.c:165:2: error: too many arguments to function 'riscv_ipi_set_virq_range' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.