Hi Naoya, [auto build test ERROR on mmotm/master] [also build test ERROR on next-20170310] [cannot apply to v4.11-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Zi-Yan/mm-page-migration-enhancement-for-thp/20170315-042736 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-s0-201711 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from fs/proc/task_mmu.c:15:0: include/linux/swapops.h: In function 'remove_migration_pmd': >> include/linux/swapops.h:209:9: warning: 'return' with a value, in function returning void return 0; ^ include/linux/swapops.h:205:20: note: declared here static inline void remove_migration_pmd(struct page_vma_mapped_walk *pvmw, ^~~~~~~~~~~~~~~~~~~~ -- In file included from mm/page_vma_mapped.c:5:0: include/linux/swapops.h: In function 'remove_migration_pmd': >> include/linux/swapops.h:209:9: warning: 'return' with a value, in function returning void return 0; ^ include/linux/swapops.h:205:20: note: declared here static inline void remove_migration_pmd(struct page_vma_mapped_walk *pvmw, ^~~~~~~~~~~~~~~~~~~~ In file included from include/asm-generic/bug.h:4:0, from arch/x86/include/asm/bug.h:35, from include/linux/bug.h:4, from include/linux/mmdebug.h:4, from include/linux/mm.h:8, from mm/page_vma_mapped.c:1: In function 'pmd_to_swp_entry.isra.14', inlined from 'page_vma_mapped_walk' at mm/page_vma_mapped.c:149:8: >> include/linux/compiler.h:537:38: error: call to '__compiletime_assert_216' declared with attribute error: BUILD_BUG failed _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:520:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:537:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/bug.h:54:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/bug.h:88:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^~~~~~~~~~~~~~~~ >> include/linux/swapops.h:216:2: note: in expansion of macro 'BUILD_BUG' BUILD_BUG(); ^~~~~~~~~ -- In file included from mm/rmap.c:53:0: include/linux/swapops.h: In function 'remove_migration_pmd': >> include/linux/swapops.h:209:9: warning: 'return' with a value, in function returning void return 0; ^ include/linux/swapops.h:205:20: note: declared here static inline void remove_migration_pmd(struct page_vma_mapped_walk *pvmw, ^~~~~~~~~~~~~~~~~~~~ In file included from include/asm-generic/bug.h:4:0, from arch/x86/include/asm/bug.h:35, from include/linux/bug.h:4, from include/linux/mmdebug.h:4, from include/linux/mm.h:8, from mm/rmap.c:48: In function 'set_pmd_migration_entry.isra.28', inlined from 'try_to_unmap_one' at mm/rmap.c:1317:5: include/linux/compiler.h:537:38: error: call to '__compiletime_assert_202' declared with attribute error: BUILD_BUG failed _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:520:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:537:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/bug.h:54:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/bug.h:88:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^~~~~~~~~~~~~~~~ include/linux/swapops.h:202:2: note: in expansion of macro 'BUILD_BUG' BUILD_BUG(); ^~~~~~~~~ -- In file included from mm/migrate.c:18:0: include/linux/swapops.h: In function 'remove_migration_pmd': >> include/linux/swapops.h:209:9: warning: 'return' with a value, in function returning void return 0; ^ include/linux/swapops.h:205:20: note: declared here static inline void remove_migration_pmd(struct page_vma_mapped_walk *pvmw, ^~~~~~~~~~~~~~~~~~~~ In file included from include/asm-generic/bug.h:4:0, from arch/x86/include/asm/bug.h:35, from include/linux/bug.h:4, from include/linux/mmdebug.h:4, from include/linux/mm.h:8, from include/linux/migrate.h:4, from mm/migrate.c:15: In function 'remove_migration_pmd.isra.32', inlined from 'remove_migration_pte' at mm/migrate.c:217:4: include/linux/compiler.h:537:38: error: call to '__compiletime_assert_208' declared with attribute error: BUILD_BUG failed _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:520:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:537:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/bug.h:54:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^~~~~~~~~~~~~~~~~~ include/linux/bug.h:88:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^~~~~~~~~~~~~~~~ include/linux/swapops.h:208:2: note: in expansion of macro 'BUILD_BUG' BUILD_BUG(); ^~~~~~~~~ vim +/__compiletime_assert_216 +537 include/linux/compiler.h 9a8ab1c3 Daniel Santos 2013-02-21 531 * 9a8ab1c3 Daniel Santos 2013-02-21 532 * In tradition of POSIX assert, this macro will break the build if the 9a8ab1c3 Daniel Santos 2013-02-21 533 * supplied condition is *false*, emitting the supplied error message if the 9a8ab1c3 Daniel Santos 2013-02-21 534 * compiler has support to do so. 9a8ab1c3 Daniel Santos 2013-02-21 535 */ 9a8ab1c3 Daniel Santos 2013-02-21 536 #define compiletime_assert(condition, msg) \ 9a8ab1c3 Daniel Santos 2013-02-21 @537 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) 9a8ab1c3 Daniel Santos 2013-02-21 538 47933ad4 Peter Zijlstra 2013-11-06 539 #define compiletime_assert_atomic_type(t) \ 47933ad4 Peter Zijlstra 2013-11-06 540 compiletime_assert(__native_word(t), \ :::::: The code at line 537 was first introduced by commit :::::: 9a8ab1c39970a4938a72d94e6fd13be88a797590 bug.h, compiler.h: introduce compiletime_assert & BUILD_BUG_ON_MSG :::::: TO: Daniel Santos <daniel.santos@xxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip