Re: [kvm:queue 65/153] arch/x86/kvm/cpuid.c:704:9: error: implicit declaration of function 'kvm_cpu_cap_init_scattered'; did you mean 'kvm_cpu_cap_init_kvm_defined'?

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

 



kernel test robot <lkp@xxxxxxxxx> writes:

> Hi Vitaly,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head:   d3f8290e4d039d9970dabd34bd9e6b0a97c35ecc
> commit: 42b76c1ae40b89716c7a804cb575a4b52eb4e12f [65/153] KVM: x86: Add a KVM-only leaf for CPUID_8000_0007_EDX
> config: x86_64-rhel-8.3-func
> compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=42b76c1ae40b89716c7a804cb575a4b52eb4e12f
>         git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
>         git fetch --no-tags kvm queue
>         git checkout 42b76c1ae40b89716c7a804cb575a4b52eb4e12f
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         make W=1 O=build_dir ARCH=x86_64 olddefconfig
>         make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kvm/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
>    arch/x86/kvm/cpuid.c: In function 'kvm_set_cpu_caps':
>>> arch/x86/kvm/cpuid.c:704:9: error: implicit declaration of function 'kvm_cpu_cap_init_scattered'; did you mean 'kvm_cpu_cap_init_kvm_defined'? [-Werror=implicit-function-declaration]
>      704 |         kvm_cpu_cap_init_scattered(CPUID_8000_0007_EDX,
>          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
>          |         kvm_cpu_cap_init_kvm_defined
>    cc1: some warnings being treated as errors

This seems to be fixed in the current kvm/queue;
'kvm_cpu_cap_init_scattered()' is now called
'kvm_cpu_cap_init_kvm_defined()'.

-- 
Vitaly




[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