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@xxxxxxxxxxxxxxx> :::::: CC: Rusty Russell <rusty@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data