* [REGRESSION] next/master: (build) initialization of ‘int (*)(void *)’ from incompatible pointer type...
@ 2025-12-17 4:59 KernelCI bot
2025-12-17 5:43 ` Stephen Rothwell
0 siblings, 1 reply; 4+ messages in thread
From: KernelCI bot @ 2025-12-17 4:59 UTC (permalink / raw)
To: kernelci-results; +Cc: regressions, gus, linux-next
Hello,
New build issue found on next/master:
---
initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] in drivers/irqchip/irq-riscv-aplic-main.o (drivers/irqchip/irq-riscv-aplic-main.c) [logspec:kbuild,kbuild.compiler.error]
---
- dashboard: https://d.kernelci.org/i/maestro:c537d0d22aa608b88bb407d6e02b6a733d3f78cf
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- commit HEAD: 12b95d29eb979e5c4f4f31bb05817bc935c52050
- tags: next-20251217
Please include the KernelCI tag when submitting a fix:
Reported-by: kernelci.org bot <bot@kernelci.org>
Log excerpt:
=====================================================
drivers/irqchip/irq-riscv-aplic-main.c:111:20: error: initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
111 | .suspend = aplic_syscore_suspend,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-riscv-aplic-main.c:111:20: note: (near initialization for ‘aplic_syscore_ops.suspend’)
drivers/irqchip/irq-riscv-aplic-main.c:112:19: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
112 | .resume = aplic_syscore_resume,
| ^~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-riscv-aplic-main.c:112:19: note: (near initialization for ‘aplic_syscore_ops.resume’)
drivers/irqchip/irq-riscv-aplic-main.c: In function ‘aplic_probe’:
drivers/irqchip/irq-riscv-aplic-main.c:375:17: error: implicit declaration of function ‘register_syscore_ops’; did you mean ‘register_syscore’? [-Wimplicit-function-declaration]
375 | register_syscore_ops(&aplic_syscore_ops);
| ^~~~~~~~~~~~~~~~~~~~
| register_syscore
=====================================================
# Builds where the incident occurred:
## defconfig on (riscv):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-riscv-build-only-69422a0bcbfd84c3cdbdaaa0/.config
- dashboard: https://d.kernelci.org/build/maestro:69422a0bcbfd84c3cdbdaaa0
#kernelci issue maestro:c537d0d22aa608b88bb407d6e02b6a733d3f78cf
--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists.linux.dev
Made with love by the KernelCI team - https://kernelci.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* [REGRESSION] next/master: (build) initialization of ‘int (*)(void *)’ from incompatible pointer type...
@ 2025-12-17 4:59 KernelCI bot
0 siblings, 0 replies; 4+ messages in thread
From: KernelCI bot @ 2025-12-17 4:59 UTC (permalink / raw)
To: kernelci-results; +Cc: regressions, gus, linux-next
Hello,
New build issue found on next/master:
---
initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] in drivers/irqchip/irq-riscv-aplic-main.o (drivers/irqchip/irq-riscv-aplic-main.c) [logspec:kbuild,kbuild.compiler.error]
---
- dashboard: https://d.kernelci.org/i/maestro:ed08c10e7ce8b2654d125d029bb2aac6dc72096d
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
- commit HEAD: 12b95d29eb979e5c4f4f31bb05817bc935c52050
- tags: next-20251217
Please include the KernelCI tag when submitting a fix:
Reported-by: kernelci.org bot <bot@kernelci.org>
Log excerpt:
=====================================================
drivers/irqchip/irq-riscv-aplic-main.c:111:20: error: initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
111 | .suspend = aplic_syscore_suspend,
| ^~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-riscv-aplic-main.c:111:20: note: (near initialization for ‘aplic_syscore_ops.suspend’)
drivers/irqchip/irq-riscv-aplic-main.c:112:19: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
112 | .resume = aplic_syscore_resume,
| ^~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-riscv-aplic-main.c:112:19: note: (near initialization for ‘aplic_syscore_ops.resume’)
drivers/irqchip/irq-riscv-aplic-main.c: In function ‘aplic_probe’:
drivers/irqchip/irq-riscv-aplic-main.c:375:17: error: implicit declaration of function ‘register_syscore_ops’; did you mean ‘register_syscore’? [-Wimplicit-function-declaration]
375 | register_syscore_ops(&aplic_syscore_ops);
| ^~~~~~~~~~~~~~~~~~~~
| register_syscore
=====================================================
# Builds where the incident occurred:
## defconfig on (riscv):
- compiler: gcc-14
- config: https://files.kernelci.org/kbuild-gcc-14-riscv-build-only-69422a0bcbfd84c3cdbdaaa0/.config
- dashboard: https://d.kernelci.org/build/maestro:69422a0bcbfd84c3cdbdaaa0
## defconfig+allnoconfig on (riscv):
- compiler: clang-21
- config: https://files.kernelci.org/kbuild-clang-21-riscv-defconfig-694229a2cbfd84c3cdbdaa14/.config
- dashboard: https://d.kernelci.org/build/maestro:694229a2cbfd84c3cdbdaa14
#kernelci issue maestro:ed08c10e7ce8b2654d125d029bb2aac6dc72096d
--
This is an experimental report format. Please send feedback in!
Talk to us at kernelci@lists.linux.dev
Made with love by the KernelCI team - https://kernelci.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [REGRESSION] next/master: (build) initialization of ‘int (*)(void *)’ from incompatible pointer type...
2025-12-17 4:59 [REGRESSION] next/master: (build) initialization of ‘int (*)(void *)’ from incompatible pointer type KernelCI bot
@ 2025-12-17 5:43 ` Stephen Rothwell
2025-12-17 17:31 ` Thomas Gleixner
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2025-12-17 5:43 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
Cc: KernelCI bot, kernelci, kernelci-results, regressions, gus,
linux-next, Nick Hu
[-- Attachment #1: Type: text/plain, Size: 3065 bytes --]
Hi all,
On Wed, 17 Dec 2025 04:59:03 -0000 KernelCI bot <bot@kernelci.org> wrote:
>
> New build issue found on next/master:
>
> ---
> initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] in drivers/irqchip/irq-riscv-aplic-main.o (drivers/irqchip/irq-riscv-aplic-main.c) [logspec:kbuild,kbuild.compiler.error]
> ---
>
> - dashboard: https://d.kernelci.org/i/maestro:c537d0d22aa608b88bb407d6e02b6a733d3f78cf
> - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> - commit HEAD: 12b95d29eb979e5c4f4f31bb05817bc935c52050
> - tags: next-20251217
>
> Please include the KernelCI tag when submitting a fix:
>
> Reported-by: kernelci.org bot <bot@kernelci.org>
>
>
> Log excerpt:
> =====================================================
> drivers/irqchip/irq-riscv-aplic-main.c:111:20: error: initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
> 111 | .suspend = aplic_syscore_suspend,
> | ^~~~~~~~~~~~~~~~~~~~~
> drivers/irqchip/irq-riscv-aplic-main.c:111:20: note: (near initialization for ‘aplic_syscore_ops.suspend’)
> drivers/irqchip/irq-riscv-aplic-main.c:112:19: error: initialization of ‘void (*)(void *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
> 112 | .resume = aplic_syscore_resume,
> | ^~~~~~~~~~~~~~~~~~~~
> drivers/irqchip/irq-riscv-aplic-main.c:112:19: note: (near initialization for ‘aplic_syscore_ops.resume’)
> drivers/irqchip/irq-riscv-aplic-main.c: In function ‘aplic_probe’:
> drivers/irqchip/irq-riscv-aplic-main.c:375:17: error: implicit declaration of function ‘register_syscore_ops’; did you mean ‘register_syscore’? [-Wimplicit-function-declaration]
> 375 | register_syscore_ops(&aplic_syscore_ops);
> | ^~~~~~~~~~~~~~~~~~~~
> | register_syscore
>
> =====================================================
>
>
> # Builds where the incident occurred:
>
> ## defconfig on (riscv):
> - compiler: gcc-14
> - config: https://files.kernelci.org/kbuild-gcc-14-riscv-build-only-69422a0bcbfd84c3cdbdaaa0/.config
> - dashboard: https://d.kernelci.org/build/maestro:69422a0bcbfd84c3cdbdaaa0
>
>
> #kernelci issue maestro:c537d0d22aa608b88bb407d6e02b6a733d3f78cf
>
> --
> This is an experimental report format. Please send feedback in!
> Talk to us at kernelci@lists.linux.dev
>
> Made with love by the KernelCI team - https://kernelci.org
>
Caused by commit
1c546bb43361 ("irqchip/riscv-aplic: Preserve APLIC states across suspend/resume")
From the tip tree
(https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git#master).
The call back arguments and the registration method changed in
v6.19-rc1 in commit
a97fbc3ee3e2 ("syscore: Pass context data to callbacks")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [REGRESSION] next/master: (build) initialization of ‘int (*)(void *)’ from incompatible pointer type...
2025-12-17 5:43 ` Stephen Rothwell
@ 2025-12-17 17:31 ` Thomas Gleixner
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2025-12-17 17:31 UTC (permalink / raw)
To: Stephen Rothwell, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
Cc: KernelCI bot, kernelci, kernelci-results, regressions, gus,
linux-next, Nick Hu
On Wed, Dec 17 2025 at 16:43, Stephen Rothwell wrote:
> Caused by commit
>
> 1c546bb43361 ("irqchip/riscv-aplic: Preserve APLIC states across suspend/resume")
>
> From the tip tree
> (https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git#master).
>
> The call back arguments and the registration method changed in
> v6.19-rc1 in commit
>
> a97fbc3ee3e2 ("syscore: Pass context data to callbacks")
Right. Geert pointed that out already and it's fixed in the offending
commit.
Thanks,
tglx
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-12-17 17:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 4:59 [REGRESSION] next/master: (build) initialization of ‘int (*)(void *)’ from incompatible pointer type KernelCI bot
2025-12-17 5:43 ` Stephen Rothwell
2025-12-17 17:31 ` Thomas Gleixner
-- strict thread matches above, loose matches on Subject: below --
2025-12-17 4:59 KernelCI bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).