[intel-tdx:guest-attest 5/6] ./usr/include/misc/tdx.h:39:2: error: unknown type name 'size_t'
From: kernel test robot
Date: Thu Mar 31 2022 - 22:04:55 EST
tree: https://github.com/intel/tdx.git guest-attest
head: 9247fade9db5ae6eb183b2f92fdedb898282376a
commit: 054b22e81e88379a5a8459c19e89a335531c1bdd [5/6] platform/x86: intel_tdx_attest: Add TDX Guest attestation interface driver
config: x86_64-randconfig-a016 (https://download.01.org/0day-ci/archive/20220401/202204011037.5M42EV06-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 881350a92d821d4f8e4fa648443ed1d17e251188)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel/tdx/commit/054b22e81e88379a5a8459c19e89a335531c1bdd
git remote add intel-tdx https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest-attest
git checkout 054b22e81e88379a5a8459c19e89a335531c1bdd
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
In file included from <built-in>:1:
>> ./usr/include/misc/tdx.h:38:11: error: expected ';' at end of declaration list
void *buf __user;
^
;
>> ./usr/include/misc/tdx.h:39:2: error: unknown type name 'size_t'
size_t len;
^
2 errors generated.
--
0-DAY CI Kernel Test Service
https://01.org/lkp