Content-Type: multipart/mixed; boundary="===============8836966964036011157==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] KEYS: trusted: fix crash when TPM/TEE are built as module Date: Wed, 09 Feb 2022 03:15:31 +0800 Message-ID: <202202090354.jnH19acv-lkp@intel.com> In-Reply-To: <20220204200342.48665-1-ztong0001@gmail.com> List-Id: --===============8836966964036011157== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Tong, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.17-rc2] [also build test ERROR on next-20220208] [cannot apply to jmorris-security/next-testing] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Tong-Zhang/KEYS-trusted-fi= x-crash-when-TPM-TEE-are-built-as-module/20220205-040706 base: 26291c54e111ff6ba87a164d85d4a4e134b7315c config: i386-randconfig-a011 (https://download.01.org/0day-ci/archive/20220= 209/202202090354.jnH19acv-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e8bff9= ae54a55b4dbfeb6ba55f723abbd81bf494) reproduce (this is a W=3D1 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/0day-ci/linux/commit/1f9dab49ae11af2bde1b057f7= 104ded0714ae7dd git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tong-Zhang/KEYS-trusted-fix-crash-= when-TPM-TEE-are-built-as-module/20220205-040706 git checkout 1f9dab49ae11af2bde1b057f7104ded0714ae7dd # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: trusted_key_tee_ops >>> referenced by trusted_core.c >>> keys/trusted-keys/trusted_core.o:(trusted_key_sources)= in archive security/built-in.a --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8836966964036011157==--