* [linux-next:master 13595/13751] arch/x86/kvm/cpuid.c:128:26: warning: no previous prototype for 'kvm_find_kvm_cpuid_features'
@ 2021-11-13 14:12 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-13 14:12 UTC (permalink / raw)
To: Paul Durrant; +Cc: kbuild-all, Linux Memory Management List, Paolo Bonzini
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f2e19fd15bd7cba347ce50be71955f5cd28a6019
commit: 760849b1476c94da4cca5d3a5f0a1f64ffc92ba4 [13595/13751] KVM: x86: Make sure KVM_CPUID_FEATURES really are KVM_CPUID_FEATURES
config: x86_64-rhel-8.3 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=760849b1476c94da4cca5d3a5f0a1f64ffc92ba4
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 760849b1476c94da4cca5d3a5f0a1f64ffc92ba4
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/cpuid.c:128:26: warning: no previous prototype for 'kvm_find_kvm_cpuid_features' [-Wmissing-prototypes]
128 | struct kvm_cpuid_entry2 *kvm_find_kvm_cpuid_features(struct kvm_vcpu *vcpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/kvm_find_kvm_cpuid_features +128 arch/x86/kvm/cpuid.c
127
> 128 struct kvm_cpuid_entry2 *kvm_find_kvm_cpuid_features(struct kvm_vcpu *vcpu)
129 {
130 u32 base = vcpu->arch.kvm_cpuid_base;
131
132 if (!base)
133 return NULL;
134
135 return kvm_find_cpuid_entry(vcpu, base | KVM_CPUID_FEATURES, 0);
136 }
137
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41031 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-next:master 13595/13751] arch/x86/kvm/cpuid.c:128:26: warning: no previous prototype for 'kvm_find_kvm_cpuid_features'
@ 2021-11-13 14:12 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-13 14:12 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1744 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f2e19fd15bd7cba347ce50be71955f5cd28a6019
commit: 760849b1476c94da4cca5d3a5f0a1f64ffc92ba4 [13595/13751] KVM: x86: Make sure KVM_CPUID_FEATURES really are KVM_CPUID_FEATURES
config: x86_64-rhel-8.3 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=760849b1476c94da4cca5d3a5f0a1f64ffc92ba4
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 760849b1476c94da4cca5d3a5f0a1f64ffc92ba4
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kvm/cpuid.c:128:26: warning: no previous prototype for 'kvm_find_kvm_cpuid_features' [-Wmissing-prototypes]
128 | struct kvm_cpuid_entry2 *kvm_find_kvm_cpuid_features(struct kvm_vcpu *vcpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/kvm_find_kvm_cpuid_features +128 arch/x86/kvm/cpuid.c
127
> 128 struct kvm_cpuid_entry2 *kvm_find_kvm_cpuid_features(struct kvm_vcpu *vcpu)
129 {
130 u32 base = vcpu->arch.kvm_cpuid_base;
131
132 if (!base)
133 return NULL;
134
135 return kvm_find_cpuid_entry(vcpu, base | KVM_CPUID_FEATURES, 0);
136 }
137
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41031 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-13 14:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 14:12 [linux-next:master 13595/13751] arch/x86/kvm/cpuid.c:128:26: warning: no previous prototype for 'kvm_find_kvm_cpuid_features' kernel test robot
2021-11-13 14:12 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.