All of lore.kernel.org
 help / color / mirror / Atom feed
* [jarkko-linux-tpmdd:tee 6/8] security/keys/trusted-keys/trusted_tee.c:249:1: warning: data definition has no type or storage class
@ 2021-01-14  3:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-14  3:39 UTC (permalink / raw)
  To: kbuild-all

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

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/commit/?id=b97a775c846a9d1d9558383d43c83b4127a55058
        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@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(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-14  3:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14  3:39 [jarkko-linux-tpmdd:tee 6/8] security/keys/trusted-keys/trusted_tee.c:249:1: warning: data definition has no type or storage class kernel test robot

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.