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: alpha-randconfig-s032-20210114 (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-208-g46a52ca4-dirty
#
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=gcc-9.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> security/keys/trusted-keys/trusted_tee.c:249:1: warning: data
definition has no type or storage class
249 | MODULE_DEVICE_TABLE(tee,
trusted_key_id_table);
| ^~~~~~~~~~~~~~~~~~~
security/keys/trusted-keys/trusted_tee.c:249:1: error: type defaults to 'int'
in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
> security/keys/trusted-keys/trusted_tee.c:249:1: warning:
parameter names (without types) in function declaration
cc1: some warnings being
treated as errors
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