* [alibaba-cloud:linux-next 90/644] arch/m68k/include/asm/motorola_pgtable.h:199:11: error: dereferencing pointer to incomplete type 'const struct mm_struct'
@ 2020-03-18 6:16 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-18 6:16 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2588 bytes --]
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@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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 46532 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-18 6:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18 6:16 [alibaba-cloud:linux-next 90/644] arch/m68k/include/asm/motorola_pgtable.h:199:11: error: dereferencing pointer to incomplete type 'const struct mm_struct' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.