lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200124141041.187cb586@canb.auug.org.au>
Date:   Fri, 24 Jan 2020 14:10:41 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Paolo Bonzini <pbonzini@...hat.com>,
        Radim Krčmář <rkrcmar@...hat.com>,
        KVM <kvm@...r.kernel.org>
Cc:     Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: build warnings after merge of the kvm tree

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

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ