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-fix-cras...
base: 26291c54e111ff6ba87a164d85d4a4e134b7315c
config: i386-randconfig-a011
(
https://download.01.org/0day-ci/archive/20220209/202202090354.jnH19acv-lk...)
compiler: clang version 15.0.0 (
https://github.com/llvm/llvm-project
e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494)
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/0day-ci/linux/commit/1f9dab49ae11af2bde1b057f7104ded07...
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=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
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@lists.01.org