tree:
git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tee
head: b23555c4d773cde1cffd358609f89810549665f0
commit: b97a775c846a9d1d9558383d43c83b4127a55058 [6/8] KEYS: trusted: Introduce TEE based
Trusted Keys
config: mips-randconfig-r024-20210114 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
6077d55381a6aa3e947ef7abdc36a7515c598c8a)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/co...
git remote add jarkko-linux-tpmdd
git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git
git fetch --no-tags jarkko-linux-tpmdd tee
git checkout b97a775c846a9d1d9558383d43c83b4127a55058
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
> security/keys/trusted-keys/trusted_tee.c:249:1: warning:
declaration specifier missing, defaulting to 'int'
MODULE_DEVICE_TABLE(tee, trusted_key_id_table);
^
int
> security/keys/trusted-keys/trusted_tee.c:249:21: error: a
parameter list without types is only allowed in a function definition
MODULE_DEVICE_TABLE(tee, trusted_key_id_table);
^
1 warning and 1 error generated.
vim +249 security/keys/trusted-keys/trusted_tee.c
243
244 static const struct tee_client_device_id trusted_key_id_table[] = {
245 {UUID_INIT(0xf04a0fe7, 0x1f5d, 0x4b9b,
246 0xab, 0xf7, 0x61, 0x9b, 0x85, 0xb4, 0xce, 0x8c)},
247 {}
248 };
249 MODULE_DEVICE_TABLE(tee, trusted_key_id_table);
250
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org