tree:
https://github.com/alibaba/cloud-kernel.git linux-next
head: e07b931e8ed58352ad4839243454571b6ce59222
commit: c2df7a3ab1e074cd6648ae9bb1cc1e31cc46342c [90/644] device-dax: Move resource
pinning+mapping into the common driver
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.2.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c2df7a3ab1e074cd6648ae9bb1cc1e31cc46342c
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/m68k/include/asm/pgtable_mm.h:148,
from arch/m68k/include/asm/pgtable.h:5,
from include/linux/memremap.h:7,
from drivers//dax/bus.c:3:
arch/m68k/include/asm/motorola_pgtable.h: In function 'pgd_offset':
> arch/m68k/include/asm/motorola_pgtable.h:199:11: error:
dereferencing pointer to incomplete type 'const struct mm_struct'
199 |
return mm->pgd + pgd_index(address);
| ^~
vim +199 arch/m68k/include/asm/motorola_pgtable.h
^1da177e4c3f41 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 194
^1da177e4c3f41 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 195 /*
to find an entry in a page-table-directory */
5b808a593588b2 include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07 196
static inline pgd_t *pgd_offset(const struct mm_struct *mm,
5b808a593588b2 include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07 197
unsigned long address)
^1da177e4c3f41 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 198 {
^1da177e4c3f41 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 @199
return mm->pgd + pgd_index(address);
^1da177e4c3f41 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 200 }
^1da177e4c3f41 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 201
:::::: The code at line 199 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org