On Mon, Mar 15, 2021 at 12:10:16PM +0100, Greg KH wrote: > On Mon, Mar 15, 2021 at 06:44:43PM +0800, hulkrobot@xxxxxxxxxx wrote: > > Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > > Branch: linux-5.10.y > > Arch: x86 > > Version: 5.10.24-rc1 > > Commit: 5b0ddd114df102f34c83b8cd4ce4a03397ab7aa9 > > Compiler: gcc version 7.3.0 (GCC) > > -------------------------------------------------------------------- > > Kernel build failed, error log: > > arch/x86/kernel/sev-es.c:1275:14: error: implicit declaration of function ‘irqentry_nmi_enter’; did you mean ‘irqentry_enter’? [-Werror=implicit-function-declaration] > > irq_state = irqentry_nmi_enter(regs); > > ^~~~~~~~~~~~~~~~~~ > > irqentry_enter > > arch/x86/kernel/sev-es.c:1275:12: error: incompatible types when assigning to type ‘irqentry_state_t {aka struct irqentry_state}’ from type ‘int’ > > irq_state = irqentry_nmi_enter(regs); > > ^ > > arch/x86/kernel/sev-es.c:1339:2: error: implicit declaration of function ‘irqentry_nmi_exit’; did you mean ‘irqentry_exit’? [-Werror=implicit-function-declaration] > > irqentry_nmi_exit(regs, irq_state); > > ^~~~~~~~~~~~~~~~~ > > irqentry_exit > > cc1: some warnings being treated as errors > > make[2]: *** [scripts/Makefile.build:279: arch/x86/kernel/sev-es.o] Error 1 > > make[2]: *** Waiting for unfinished jobs.... > > I do not see irqentry_nmi_enter() in this tree at all, where did that > come from? Ah, nevermind, I was looking at the 5.4.y queue/tree, this is now showing up in my builds as well, will go fix it up, thanks... greg k-h