linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2016-09-04  3:38 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-09-04  3:38 UTC (permalink / raw)
  To: Joe Perches
  Cc: kbuild-all, Sasha Levin, Andrew Morton, Linux Memory Management List

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

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

only message in thread, other threads:[~2016-09-04  3:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-04  3:38 [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 kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox