(这里写你的反馈,例如:) Tested this on riscv64 (cross-compiled on x86_64) using linux-next. The patch fixes the compilation error as expected.
# Acked-by: Name <email>: 表示该模块的维护者看过这个补丁, 认为逻辑没问题, 同意合入. # Reviewed-by: Name <email>: 表示你对代码进行了详细的审查, 包括逻辑、编码风格、潜在漏洞等. # Tested-by: Name <email>: 表示你实际编译并运行了补丁, 验证了它确实解决了问题或没有引入新问题. Tested-by: Your Real Name <yourname@gmail.com>
例如.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Subject: Re: [PATCH] irqchip/riscv-aplic: adapt to syscore API passing context data
On Wed, Dec 24, 2025 at 16:41:46 +0530, Sanjay Chitroda wrote: > The RISC-V APLIC driver started preserving state across suspend/resume, > but its syscore usage still assumed the old API. Building against > linux-next after a97fbc3ee3e2 fails because the callbacks don’t receive > the necessary driver context.
Tested this on riscv64 (cross-compiled on x86_64) using linux-next (next-20251219). Without this patch, the build fails with:
drivers/irqchip/irq-riscv-aplic-main.c:111:20: error: initialization of ‘int (*)(void *)’ from incompatible pointer type ‘int (*)(void)’
This patch correctly fixes the compilation error by updating the APLIC driver to the new syscore API.