On Tue, 2026-05-19 at 00:38 -0700, Dongli Zhang wrote: > I have encountered this build error with this patch. > > Perhaps it is because all usage of "flags" are removed. > > $ make -j32 > /dev/null > arch/x86/kvm/x86.c: In function ‘kvm_guest_time_update’: > arch/x86/kvm/x86.c:3359:23: error: unused variable ‘flags’ > [-Werror=unused-variable] > 3359 | unsigned long flags; > | ^~~~~ > cc1: all warnings being treated as errors > make[4]: *** [scripts/Makefile.build:289: arch/x86/kvm/x86.o] Error 1 > make[3]: *** [scripts/Makefile.build:548: arch/x86/kvm] Error 2 > make[2]: *** [scripts/Makefile.build:548: arch/x86] Error 2 > make[1]: *** [/home/opc/ext4/mainline-linux/Makefile:2143: .] Error 2 > make: *** [Makefile:248: __sub-make] Error 2 > > Thank you very much! > > Dongli Zhang
Yes, in all the refactoring/rebasing, somehow the line which should have removed 'flags' there ended up in https://lore.kernel.org/all/[email protected]/ along with another one-liner that should have been in a different previous commit and breaks bisectability of that too. Sorry about that. Should all be fixed in https://git.infradead.org/?p=users/dwmw2/linux.git;a=shortlog;h=refs/heads/kvmclock5 where I'm accumulating various fixes in preparation to post a v5.
smime.p7s
Description: S/MIME cryptographic signature

