Re: [PATCH 1/8] KVM: SEV-ES: fix length of string I/O

From: Paolo Bonzini
Date: Mon Oct 18 2021 - 06:54:13 EST


On 18/10/21 12:21, Naresh Kamboju wrote:
[Please ignore this email if it already reported ]

Following build errors noticed while building Linux next 20211018
with gcc-11 for i386 architecture.

i686-linux-gnu-ld: arch/x86/kvm/svm/sev.o: in function `sev_es_string_io':
sev.c:(.text+0x110f): undefined reference to `__udivdi3'
make[1]: *** [/builds/linux/Makefile:1247: vmlinux] Error 1
make[1]: Target '__all' not remade because of errors.
make: *** [Makefile:226: __sub-make] Error 2

Thank you very much, I have sent a simple fix of changing the variable to u32.

Paolo