Hi Michal, [auto build test ERROR on mmotm/master] [also build test ERROR on next-20170502] [cannot apply to v4.11] [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/Michal-Hocko/mm-vmalloc-properly-track-vmalloc-users/20170503-065022 base: git://git.cmpxchg.org/linux-mmotm.git master config: m68k-multi_defconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): In file included from arch/m68k/include/asm/pgtable_mm.h:147:0, from arch/m68k/include/asm/pgtable.h:4, from include/linux/vmalloc.h:9, from fs/nfsd/nfscache.c:12: arch/m68k/include/asm/motorola_pgtable.h: In function 'pgd_offset': >> arch/m68k/include/asm/motorola_pgtable.h:198:11: error: dereferencing pointer to incomplete type return mm->pgd + pgd_index(address); ^ vim +198 arch/m68k/include/asm/motorola_pgtable.h ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 182 } ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 183 static inline pte_t pte_mkcache(pte_t pte) ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 184 { ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 185 pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_supervisor_cachemode; ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 186 return pte; ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 187 } 7e675137 include/asm-m68k/motorola_pgtable.h Nick Piggin 2008-04-28 188 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 189 ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 190 #define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address)) ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 191 ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 192 #define pgd_index(address) ((address) >> PGDIR_SHIFT) ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 193 ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 194 /* to find an entry in a page-table-directory */ 5b808a59 include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07 195 static inline pgd_t *pgd_offset(const struct mm_struct *mm, 5b808a59 include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07 196 unsigned long address) ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 197 { ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 @198 return mm->pgd + pgd_index(address); ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 199 } ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 200 ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 201 #define swapper_pg_dir kernel_pg_dir ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 202 extern pgd_t kernel_pg_dir[128]; ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 203 ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 204 static inline pgd_t *pgd_offset_k(unsigned long address) ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 205 { ^1da177e include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 206 return kernel_pg_dir + (address >> PGDIR_SHIFT); :::::: The code at line 198 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds :::::: CC: Linus Torvalds --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation