From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [alibaba-cloud:ck-4.19.91 10413/10873] arch/m68k/include/asm/motorola_pgtable.h:199:11: error: dereferencing pointer to incomplete type 'const struct mm_struct'
Date: Tue, 11 Feb 2020 19:38:22 +0800 [thread overview]
Message-ID: <202002111908.NN9ZhniS%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2589 bytes --]
tree: https://github.com/alibaba/cloud-kernel.git ck-4.19.91
head: 536f70b41d6fc5fc46f50c4caa012c4439160180
commit: 7a6bd9433d146a30036717ae982b9ee85d05ec56 [10413/10873] device-dax: Move resource pinning+mapping into the common driver
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 7.5.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 7a6bd9433d146a30036717ae982b9ee85d05ec56
# save the attached .config to linux build tree
GCC_VERSION=7.5.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:0,
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'
return mm->pgd + pgd_index(address);
^~
vim +199 arch/m68k/include/asm/motorola_pgtable.h
^1da177e4c3f415 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 194
^1da177e4c3f415 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 195 /* to find an entry in a page-table-directory */
5b808a593588b2e include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07 196 static inline pgd_t *pgd_offset(const struct mm_struct *mm,
5b808a593588b2e include/asm-m68k/motorola_pgtable.h Geert Uytterhoeven 2008-02-07 197 unsigned long address)
^1da177e4c3f415 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 198 {
^1da177e4c3f415 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 @199 return mm->pgd + pgd_index(address);
^1da177e4c3f415 include/asm-m68k/motorola_pgtable.h Linus Torvalds 2005-04-16 200 }
^1da177e4c3f415 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: 46534 bytes --]
next reply other threads:[~2020-02-11 11:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-11 11:38 kbuild test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-11 20:08 [alibaba-cloud:ck-4.19.91 10413/10873] arch/m68k/include/asm/motorola_pgtable.h:199:11: error: dereferencing pointer to incomplete type 'const struct mm_struct' kbuild test robot
2020-02-11 23:01 ` Dan Williams
2020-02-12 1:21 ` Li, Philip
[not found] <92e50950-49c8-0f62-5e8b-5636c706f5e1@linux.alibaba.com>
2020-02-12 1:22 ` Li, Philip
2020-02-12 4:36 ` Li, Philip
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202002111908.NN9ZhniS%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.