linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Joe Perches <joe@perches.com>
Cc: kbuild-all@01.org, Sasha Levin <sasha.levin@oracle.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [sashal-linux-stable:linux-3.18.y 2411/3073] include/linux/module.h:138:40: error: storage size of '__mod_rapidio__rionet_id_table_device_table' isn't known
Date: Sun, 4 Sep 2016 11:38:48 +0800	[thread overview]
Message-ID: <201609041140.FEXqkvZs%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git linux-3.18.y
head:   e9e1b43e9f912ee8aad24534584a6257d2b43aba
commit: 677fa15cd6d5b0843e7b9c58409f67d656b1ec2f [2411/3073] compiler-gcc: integrate the various compiler-gcc[345].h files
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 677fa15cd6d5b0843e7b9c58409f67d656b1ec2f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/net/rionet.c:13:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_rapidio__rionet_id_table_device_table' isn't known
      extern const struct type##_device_id __mod_##type##__##name##_device_table \
                                           ^
   drivers/net/rionet.c:597:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(rapidio, rionet_id_table);
    ^~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/nfc/microread/mei.c:21:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_mei__microread_mei_tbl_device_table' isn't known
      extern const struct type##_device_id __mod_##type##__##name##_device_table \
                                           ^
   drivers/nfc/microread/mei.c:75:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(mei, microread_mei_tbl);
    ^~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/nfc/pn544/mei.c:19:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_mei__pn544_mei_tbl_device_table' isn't known
      extern const struct type##_device_id __mod_##type##__##name##_device_table \
                                           ^
   drivers/nfc/pn544/mei.c:75:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(mei, pn544_mei_tbl);
    ^~~~~~~~~~~~~~~~~~~

vim +138 include/linux/module.h

^1da177e Linus Torvalds 2005-04-16  122   * 3.	So vendors can do likewise based on their own policies
^1da177e Linus Torvalds 2005-04-16  123   */
^1da177e Linus Torvalds 2005-04-16  124  #define MODULE_LICENSE(_license) MODULE_INFO(license, _license)
^1da177e Linus Torvalds 2005-04-16  125  
1d7015ca Johannes Berg  2009-09-25  126  /*
1d7015ca Johannes Berg  2009-09-25  127   * Author(s), use "Name <email>" or just "Name", for multiple
1d7015ca Johannes Berg  2009-09-25  128   * authors use multiple MODULE_AUTHOR() statements/lines.
1d7015ca Johannes Berg  2009-09-25  129   */
^1da177e Linus Torvalds 2005-04-16  130  #define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
^1da177e Linus Torvalds 2005-04-16  131  
^1da177e Linus Torvalds 2005-04-16  132  /* What your module does. */
^1da177e Linus Torvalds 2005-04-16  133  #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
^1da177e Linus Torvalds 2005-04-16  134  
cff26a51 Rusty Russell  2014-02-03  135  #ifdef MODULE
cff26a51 Rusty Russell  2014-02-03  136  /* Creates an alias so file2alias.c can find device table. */
^1da177e Linus Torvalds 2005-04-16  137  #define MODULE_DEVICE_TABLE(type, name)					\
cff26a51 Rusty Russell  2014-02-03 @138    extern const struct type##_device_id __mod_##type##__##name##_device_table \
cff26a51 Rusty Russell  2014-02-03  139    __attribute__ ((unused, alias(__stringify(name))))
cff26a51 Rusty Russell  2014-02-03  140  #else  /* !MODULE */
cff26a51 Rusty Russell  2014-02-03  141  #define MODULE_DEVICE_TABLE(type, name)
cff26a51 Rusty Russell  2014-02-03  142  #endif
^1da177e Linus Torvalds 2005-04-16  143  
^1da177e Linus Torvalds 2005-04-16  144  /* Version of form [<epoch>:]<version>[-<extra-version>].
e865d06b Seunghun Lee   2014-01-16  145   * Or for CVS/RCS ID version, everything but the number is stripped.
e865d06b Seunghun Lee   2014-01-16  146   * <epoch>: A (small) unsigned integer which allows you to start versions

:::::: The code at line 138 was first introduced by commit
:::::: cff26a51da5d206d3baf871e75778da44710219d module: remove MODULE_GENERIC_TABLE

:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 45320 bytes --]

                 reply	other threads:[~2016-09-04  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=201609041140.FEXqkvZs%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=joe@perches.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=sasha.levin@oracle.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox