Skip to contentSkip to conversation

linux-next: build warning after merge of the kvm-x86 tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 14, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kvm-x86 tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:

virt/kvm/Kconfig:103:warning: config symbol defined without type

Introduced by commit

5eec660014bf ("KVM: Allow lockless walk of SPTEs when handing aging mmu_notifier event")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi all,

After merging the kvm-x86 tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:

virt/kvm/Kconfig:103:warning: config symbol defined without type

Introduced by commit

5eec660014bf ("KVM: Allow lockless walk of SPTEs when handing aging mmu_notifier event")

Gah, obvious once you see it. KVM_MMU_NOTIFIER_AGING_LOCKLESS steals the "bool"
from KVM_ELIDE_TLB_FLUSH_IF_YOUNG. I'll fixup and force push.

Thanks Stephen!

virt/kvm/Kconfig +2 -0
index 54e959e7d68f..9356f4e4e255 100644
@@ -102,6 +102,8 @@ config KVM_GENERIC_MMU_NOTIFIER
 
 config KVM_ELIDE_TLB_FLUSH_IF_YOUNG
        depends on KVM_GENERIC_MMU_NOTIFIER
+
+config KVM_MMU_NOTIFIER_AGING_LOCKLESS
        bool
 
 config KVM_GENERIC_MEMORY_ATTRIBUTES