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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1581601803.7365.57.camel@lca.pw>
Date:   Thu, 13 Feb 2020 08:50:03 -0500
From:   Qian Cai <cai@....pw>
To:     Paolo Bonzini <pbonzini@...hat.com>
Cc:     joe@...ches.com, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: "KVM: x86: enable -Werror" breaks W=1 compilation

People have been running W=1 to catch additional compilation warnings with an
expectation that not all of warnings will be fixed, but the linux-next commit
ead68df94d24 ("KVM: x86: enable -Werror") breaks the build for them.

arch/x86/kvm/../../../virt/kvm/kvm_main.c:663:12: error: no previous prototype
for ‘kvm_arch_post_init_vm’ [-Werror=missing-prototypes]
 int __weak kvm_arch_post_init_vm(struct kvm *kvm)
            ^~~~~~~~~~~~~~~~~~~~~
arch/x86/kvm/../../../virt/kvm/kvm_main.c:672:13: error: no previous prototype
for ‘kvm_arch_pre_destroy_vm’ [-Werror=missing-prototypes]
 void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ