linux-next: build warnings after merge of the kvm tree

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

 



Hi all,

After merging the kvm tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

arch/x86/kvm/svm.c: In function 'svm_set_msr':
arch/x86/kvm/svm.c:4289:14: warning: '~' on a boolean expression [-Wbool-operation]
 4289 |   if (data & ~kvm_spec_ctrl_valid_bits(vcpu))
      |              ^
arch/x86/kvm/svm.c:4289:14: note: did you mean to use logical not?
 4289 |   if (data & ~kvm_spec_ctrl_valid_bits(vcpu))
      |              ^
      |              !
arch/x86/kvm/vmx/vmx.c: In function 'vmx_set_msr':
arch/x86/kvm/vmx/vmx.c:2001:14: warning: '~' on a boolean expression [-Wbool-operation]
 2001 |   if (data & ~kvm_spec_ctrl_valid_bits(vcpu))
      |              ^
arch/x86/kvm/vmx/vmx.c:2001:14: note: did you mean to use logical not?
 2001 |   if (data & ~kvm_spec_ctrl_valid_bits(vcpu))
      |              ^
      |              !

Introduced by commit

  e71ae535bc24 ("KVM: x86: avoid incorrect writes to host MSR_IA32_SPEC_CTRL")

-- 
Cheers,
Stephen Rothwell

Attachment: pgp0LdH09cuSB.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux