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-queue 2411/3066] include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
Date: Thu, 1 Sep 2016 13:02:40 +0800 [thread overview]
Message-ID: <201609011334.8Ge4buL5%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 6126 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git linux-3.18.y-queue
head: 5de0c13e48a041dfc91b63a12a5b1ff37d3ed592
commit: 677fa15cd6d5b0843e7b9c58409f67d656b1ec2f [2411/3066] compiler-gcc: integrate the various compiler-gcc[345].h files
config: x86_64-rhel (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/scsi/storvsc_drv.c:32:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/scsi/storvsc_drv.c:1752:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/input/serio/hyperv-keyboard.c:15:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/input/serio/hyperv-keyboard.c:431:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/video/fbdev/hyperv_fb.c:39:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/video/fbdev/hyperv_fb.c:910:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/hid/hid-hyperv.c:16:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/hid/hid-hyperv.c:594:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/hv/hv_util.c:25:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/hv/hv_util.c:418:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/hv/hv_balloon.c:26:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/hv/hv_balloon.c:1535:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/net/hyperv/netvsc_drv.c:24:0:
>> include/linux/module.h:138:40: error: storage size of '__mod_vmbus__id_table_device_table' isn't known
extern const struct type##_device_id __mod_##type##__##name##_device_table \
^
drivers/net/hyperv/netvsc_drv.c:923:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(vmbus, id_table);
^~~~~~~~~~~~~~~~~~~
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: 33948 bytes --]
reply other threads:[~2016-09-01 5:03 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=201609011334.8Ge4buL5%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