CHK kernel/kheaders_data.tar.xz CC [M] arch/x86/kvm/svm.o arch/x86/kvm/../../../virt/kvm/kvm_main.c: In function ‘__kvm_gfn_to_hva_cache_init’: arch/x86/kvm/../../../virt/kvm/kvm_main.c:2236:42: error: ‘nr_pages_avail’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 2236 | for ( ; start_gfn <= end_gfn; start_gfn += nr_pages_avail) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ CC [M] arch/x86/kvm/pmu_amd.o cc1: all warnings being treated as errors For reference : https://bugzilla.kernel.org/show_bug.cgi?id=207173 Reproducible: Always
https://github.com/torvalds/linux/commit/78a5255ffb6a1af189a83e493d916ba1c54d8c75 proposed patch
This patch is in 5.6.14 Gentoo and Vanilla