All of lore.kernel.org
 help / color / mirror / Atom feed
* [jarkko-linux-tpmdd:master 10/12] security/keys/trusted-keys/trusted_tee.c:288:21: error: a parameter list without types is only allowed in a function definition
@ 2021-03-16 20:29 kernel test robot
  2021-03-17  7:28 ` Sumit Garg
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-03-16 20:29 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2252 bytes --]

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git master
head:   8a3fa8ade8a35d8f7c178f5680f07f223da41b87
commit: 2199c5e531b9630fc0f58da0d58bbd2a50f27787 [10/12] KEYS: trusted: Introduce TEE based Trusted Keys
config: mips-randconfig-r016-20210316 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 50c7504a93fdb90c26870db8c8ea7add895c7725)
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/commit/?id=2199c5e531b9630fc0f58da0d58bbd2a50f27787
        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 master
        git checkout 2199c5e531b9630fc0f58da0d58bbd2a50f27787
        # 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@intel.com>

All error/warnings (new ones prefixed by >>):

>> security/keys/trusted-keys/trusted_tee.c:288:1: warning: declaration specifier missing, defaulting to 'int'
   MODULE_DEVICE_TABLE(tee, trusted_key_id_table);
   ^
   int
>> security/keys/trusted-keys/trusted_tee.c:288: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 +288 security/keys/trusted-keys/trusted_tee.c

   282	
   283	static const struct tee_client_device_id trusted_key_id_table[] = {
   284		{UUID_INIT(0xf04a0fe7, 0x1f5d, 0x4b9b,
   285			   0xab, 0xf7, 0x61, 0x9b, 0x85, 0xb4, 0xce, 0x8c)},
   286		{}
   287	};
 > 288	MODULE_DEVICE_TABLE(tee, trusted_key_id_table);
   289	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37715 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-17  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 20:29 [jarkko-linux-tpmdd:master 10/12] security/keys/trusted-keys/trusted_tee.c:288:21: error: a parameter list without types is only allowed in a function definition kernel test robot
2021-03-17  7:28 ` Sumit Garg
2021-03-17  8:30   ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.