Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1383498
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] KVM: remove buggy vcpu id check on vcpu creation |
| Date | 2016-04-20 17:30 +0200 |
| Message-ID | <rq2eK-1vN-19@gated-at.bofh.it> (permalink) |
| References | <rq1Vo-1o4-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi,
[auto build test WARNING on kvm/linux-next]
[also build test WARNING on v4.6-rc4 next-20160420]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Greg-Kurz/KVM-remove-buggy-vcpu-id-check-on-vcpu-creation/20160420-231233
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: x86_64-randconfig-x017-201616 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
arch/x86/kvm/x86.c: In function 'kvm_arch_vcpu_create':
>> arch/x86/kvm/x86.c:7362:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
return -EINVAL;
^
vim +7362 arch/x86/kvm/x86.c
7346 }
7347
7348 void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu)
7349 {
7350 kvmclock_reset(vcpu);
7351
7352 free_cpumask_var(vcpu->arch.wbinvd_dirty_mask);
7353 kvm_x86_ops->vcpu_free(vcpu);
7354 }
7355
7356 struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
7357 unsigned int id)
7358 {
7359 struct kvm_vcpu *vcpu;
7360
7361 if (id >= KVM_MAX_VCPUS)
> 7362 return -EINVAL;
7363
7364 if (check_tsc_unstable() && atomic_read(&kvm->online_vcpus) != 0)
7365 printk_once(KERN_WARNING
7366 "kvm: SMP vm created on host with unstable TSC; "
7367 "guest TSC will not be reliable\n");
7368
7369 vcpu = kvm_x86_ops->vcpu_create(kvm, id);
7370
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] KVM: remove buggy vcpu id check on vcpu creation Greg Kurz <gkurz@linux.vnet.ibm.com> - 2016-04-20 17:10 +0200
Re: [PATCH] KVM: remove buggy vcpu id check on vcpu creation James Hogan <james.hogan@imgtec.com> - 2016-04-20 17:20 +0200
Re: [PATCH] KVM: remove buggy vcpu id check on vcpu creation Greg Kurz <gkurz@linux.vnet.ibm.com> - 2016-04-20 17:30 +0200
Re: [PATCH] KVM: remove buggy vcpu id check on vcpu creation kbuild test robot <lkp@intel.com> - 2016-04-20 17:30 +0200
csiph-web