Skip to contentSkip to conversation

linux-next: build failure in Linus' tree

DISCUSSION Stephen Rothwell 1 participant 1 message Sep 17, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Linus,

With just your tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

arch/powerpc/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_irqfd':
arch/powerpc/kvm/../../../virt/kvm/eventfd.c:568:19: error: 'KVM_MAX_IRQ_ROUTES' undeclared (first use in this function)
if (args->gsi >= KVM_MAX_IRQ_ROUTES)

                   ^

Caused by commit

36ae3c0a36b7 ("KVM: Don't accept obviously wrong gsi values via KVM_IRQFD")

KVM_MAX_IRQ_ROUTES is only defined when CONFIG_HAVE_KVM_IRQ_ROUTING is defined (which for PowerPC is only when CONFIG_KVM_MPIC is defined which depends on CONFIG_E500).

I have just reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell