lkml.org 
[lkml]   [2022]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[intel-tdx:kvm-upstream-workaround 206/314] lib/kvm_util.c:191:20: error: 'type' undeclared
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@intel.com>

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

\
 
 \ /
  Last update: 2022-09-19 20:14    [W:0.104 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site