All of lore.kernel.org
 help / color / mirror / Atom feed
* [avpatel:riscv_aclint_v2 6/13] arch/riscv/kernel/sbi-ipi.c:156:48: error: too many arguments to function call, expected 2, have 3
@ 2021-06-17 21:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-17 21:12 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/avpatel/linux.git riscv_aclint_v2
head:   7dfc87079d3bd32cf6acf24c246204ca31a109e2
commit: 1f552b2190b2e0b7ae50beb1b599756a2fcf498b [6/13] RISC-V: Allow marking IPIs as suitable for remote FENCEs
config: riscv-randconfig-r016-20210617 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/avpatel/linux/commit/1f552b2190b2e0b7ae50beb1b599756a2fcf498b
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_aclint_v2
        git checkout 1f552b2190b2e0b7ae50beb1b599756a2fcf498b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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 >>):

>> arch/riscv/kernel/sbi-ipi.c:156:48: error: too many arguments to function call, expected 2, have 3
           riscv_ipi_set_virq_range(virq, BITS_PER_LONG, false);
           ~~~~~~~~~~~~~~~~~~~~~~~~                      ^~~~~
   arch/riscv/include/asm/smp.h:113:20: note: 'riscv_ipi_set_virq_range' declared here
   static inline void riscv_ipi_set_virq_range(int virq, int nr)
                      ^
   1 error generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT


vim +156 arch/riscv/kernel/sbi-ipi.c

   138	
   139	static int __init sbi_ipi_set_virq(void)
   140	{
   141		int virq;
   142		struct irq_fwspec ipi = {
   143			.fwnode		= sbi_ipi_domain->fwnode,
   144			.param_count	= 1,
   145			.param[0]	= 0,
   146		};
   147	
   148		virq = __irq_domain_alloc_irqs(sbi_ipi_domain, -1, BITS_PER_LONG,
   149					       NUMA_NO_NODE, &ipi,
   150					       false, NULL);
   151		if (virq <= 0) {
   152			pr_err("unable to alloc IRQs from SBI IPI IRQ domain\n");
   153			return -ENOMEM;
   154		}
   155	
 > 156		riscv_ipi_set_virq_range(virq, BITS_PER_LONG, false);
   157	
   158		return 0;
   159	}
   160	

---
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: 35019 bytes --]

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

only message in thread, other threads:[~2021-06-17 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 21:12 [avpatel:riscv_aclint_v2 6/13] arch/riscv/kernel/sbi-ipi.c:156:48: error: too many arguments to function call, expected 2, have 3 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.