tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/headers head: eb008eb6f8b689853d6e9f4ae3ff56ea734e4319 commit: cc3ae7b0af27118994c1e491382b253be3b762bf [6/9] x86/platform: Audit and remove any unnecessary uses of module.h config: i386-randconfig-c0-07160258 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: git checkout cc3ae7b0af27118994c1e491382b253be3b762bf # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> arch/x86/platform/ts5500/ts5500.c:349:16: error: expected declaration specifiers or '...' before string constant MODULE_LICENSE("GPL"); ^~~~~ arch/x86/platform/ts5500/ts5500.c:350:15: error: expected declaration specifiers or '...' before string constant MODULE_AUTHOR("Savoir-faire Linux Inc. "); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/platform/ts5500/ts5500.c:351:20: error: expected declaration specifiers or '...' before string constant MODULE_DESCRIPTION("Technologic Systems TS-5500 platform driver"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +349 arch/x86/platform/ts5500/ts5500.c 7d029125 Vivien Didelot 2013-01-04 343 error: 7d029125 Vivien Didelot 2013-01-04 344 platform_device_unregister(pdev); 7d029125 Vivien Didelot 2013-01-04 345 return err; 7d029125 Vivien Didelot 2013-01-04 346 } 7d029125 Vivien Didelot 2013-01-04 347 device_initcall(ts5500_init); 7d029125 Vivien Didelot 2013-01-04 348 7d029125 Vivien Didelot 2013-01-04 @349 MODULE_LICENSE("GPL"); 7d029125 Vivien Didelot 2013-01-04 350 MODULE_AUTHOR("Savoir-faire Linux Inc. "); 7d029125 Vivien Didelot 2013-01-04 351 MODULE_DESCRIPTION("Technologic Systems TS-5500 platform driver"); :::::: The code at line 349 was first introduced by commit :::::: 7d0291256ca99cbb6124f63228003329e7a64b21 x86: Add TS-5500 platform support :::::: TO: Vivien Didelot :::::: CC: Ingo Molnar --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation