From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9613F802 for ; Fri, 1 Apr 2022 02:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648778690; x=1680314690; h=date:from:to:cc:subject:message-id:mime-version; bh=HzK1MMfJoMOf9bbpzJWarOeRxa/1dSYPnYhJ4sTbEaY=; b=mkwBhUTIoafD0kTDvx/yJBOxPW+g+C4uHoncfmcZN17uj1Cf4Ux/Jkf6 /sXu4dJ3ld1Ra5rDnXgVIKLTzg75sIFSJgk9wbCGcXMZ5GOf/7Ow8aFK6 J+phvHCbmZrUJCJic7Yb3SaQQfhFd7rdPOJFj8LERAlc3Tyc0XksTmnQF 2MBNO6GEHQiG7jYqzMAuAVEqwi3fiJ/OL9HBBz3ottZEiDoFhAYpnT1Qj XncUnEts997fXuvU+kt4FSpNGR2rfBdoHE+ocwzu1GT9ZN+PahFasvgHN YW40kUGSfROUOrOmxyedyu+t/52z6AGCmYJx1a81HcaBRtwMdyHvCPIEk A==; X-IronPort-AV: E=McAfee;i="6200,9189,10303"; a="260202008" X-IronPort-AV: E=Sophos;i="5.90,225,1643702400"; d="scan'208";a="260202008" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2022 19:04:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,225,1643702400"; d="scan'208";a="655283555" Received: from lkp-server02.sh.intel.com (HELO 3231c491b0e2) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 31 Mar 2022 19:04:47 -0700 Received: from kbuild by 3231c491b0e2 with local (Exim 4.95) (envelope-from ) id 1na6ed-0000qN-5x; Fri, 01 Apr 2022 02:04:47 +0000 Date: Fri, 1 Apr 2022 10:04:33 +0800 From: kernel test robot To: Kuppuswamy Sathyanarayanan Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Tony Luck , Andi Kleen Subject: [intel-tdx:guest-attest 5/6] ./usr/include/misc/tdx.h:39:2: error: unknown type name 'size_t' Message-ID: <202204011037.5M42EV06-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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@intel.com/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 All errors (new ones prefixed by >>): In file included from :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