Re: [PATCH 5/6] KVM: x86/xen: Maintain valid mapping of Xen shared_inf=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2021-11-02 at 04:35 +0800, kernel test robot wrote:
> 
> All errors (new ones prefixed by >>):
> 
> >> arch/x86/kvm/mmu/mmu.c:1582:30: error: use of undeclared identifier 'kvm_xen_enabled'
>            if (static_branch_unlikely(&kvm_xen_enabled.key)) {
>                                        ^
> >> arch/x86/kvm/mmu/mmu.c:1582:30: error: use of undeclared identifier 'kvm_xen_enabled'
> >> arch/x86/kvm/mmu/mmu.c:1582:30: error: use of undeclared identifier 'kvm_xen_enabled'
> >> arch/x86/kvm/mmu/mmu.c:1582:30: error: use of undeclared identifier 'kvm_xen_enabled'
> >> arch/x86/kvm/mmu/mmu.c:1582:6: error: invalid argument type 'void' to unary expression
>            if (static_branch_unlikely(&kvm_xen_enabled.key)) {
>                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    include/linux/jump_label.h:508:35: note: expanded from macro 'static_branch_unlikely'
>    #define static_branch_unlikely(x)       unlikely_notrace(static_key_enabled(&(x)->key))
>                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    include/linux/compiler.h:80:30: note: expanded from macro 'unlikely_notrace'
>    # define unlikely_notrace(x)    unlikely(x)
>                                    ^~~~~~~~~~~
>    include/linux/compiler.h:78:40: note: expanded from macro 'unlikely'
>    # define unlikely(x)    __builtin_expect(!!(x), 0)
>                                              ^~~~
>    5 errors generated.


Oops, missing #ifdef CONFIG_KVM_XEN around that one. Fixed in 
https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads/xen-evtchn

Thanks.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux