All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jarkko-linux-tpmdd:tee 6/8] security/keys/trusted-keys/trusted_tee.c:249:1: warning: data definition has no type or storage class
Date: Thu, 14 Jan 2021 11:39:26 +0800	[thread overview]
Message-ID: <202101141122.C6hdUAXP-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-01-14  3:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202101141122.C6hdUAXP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.