[intel-tdx:kvm-upstream-workaround 206/314] lib/kvm_util.c:191:20: error: 'type' undeclared
From: kernel test robot
Date: Mon Sep 19 2022 - 14:14:09 EST
tree: https://github.com/intel/tdx.git kvm-upstream-workaround
head: 552dd80c48f67ca01bcdd10667e0c11efd375177
commit: 38b15ceaa9014e2df231dbbca752bdb17c3880c7 [206/314] KVM: selftest: Add support for creating non-default type VMs
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# https://github.com/intel/tdx/commit/38b15ceaa9014e2df231dbbca752bdb17c3880c7
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx kvm-upstream-workaround
git checkout 38b15ceaa9014e2df231dbbca752bdb17c3880c7
make O=/tmp/kselftest headers
make O=/tmp/kselftest -C tools/testing/selftests
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
lib/kvm_util.c: In function '____vm_create':
>> lib/kvm_util.c:191:20: error: 'type' undeclared (first use in this function)
191 | vm->type = type;
| ^~~~
lib/kvm_util.c:191:20: note: each undeclared identifier is reported only once for each function it appears in
--
0-DAY CI Kernel Test Service
https://01.org/lkp