riscv: irq-riscv-imsic-early.c:52:9: error: too many arguments to function 'riscv_ipi_set_virq_range'

Conor Dooley conor at kernel.org
Wed May 15 07:36:33 PDT 2024


Palmer,
This is the issue I point out to you on the call earlier:

On Wed, May 15, 2024 at 04:18:58PM +0200, Naresh Kamboju wrote:
> The riscv builds failed on Linux next-20240515 tag due to following build
> warnings / errors with gcc-13 and clang toolchain.
> 
> Reported-by: Linux Kernel Functional Testing <lkft at linaro.org>
> 
> Build Log:
> -----
> drivers/irqchip/irq-riscv-imsic-early.c: In function 'imsic_ipi_domain_init':
> drivers/irqchip/irq-riscv-imsic-early.c:52:9: error: too many
> arguments to function 'riscv_ipi_set_virq_range'
>    52 |         riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI, true);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from include/linux/smp.h:119,
>                  from include/linux/lockdep.h:14,
>                  from include/linux/spinlock.h:63,
>                  from include/linux/sched.h:2142,
>                  from include/linux/ratelimit.h:6,
>                  from include/linux/dev_printk.h:16,
>                  from include/linux/device.h:15,
>                  from include/linux/node.h:18,
>                  from include/linux/cpu.h:17,
>                  from drivers/irqchip/irq-riscv-imsic-early.c:8:
> arch/riscv/include/asm/smp.h:52:6: note: declared here
>    52 | void riscv_ipi_set_virq_range(int virq, int nr);
>       |      ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> metadata:
>   git_describe: next-20240515
>   git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>   git_sha: 82d92a9a1b9ea0ea52aff27cddd05009b4edad49
>   git_short_log: 82d92a9a1b9e ("Add linux-next specific files for 20240515")
> 
> Links:
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240515/testrun/23894295/suite/build/test/gcc-13-lkftconfig/details/
>  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2gUiKdxX7qM27ritMJT5pRyZhyi/
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240515/testrun/23894295/suite/build/test/gcc-13-lkftconfig/history/
> 
> --
> Linaro LKFT
> https://lkft.linaro.org
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240515/4c196821/attachment.sig>


More information about the linux-riscv mailing list