* [mmotm:master 77/120] mm/madvise.c:359:7: error: implicit declaration of function 'pmd_young'; did you mean 'pte_young'?
@ 2019-07-25 8:27 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-07-25 8:27 UTC (permalink / raw)
To: Minchan Kim
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2241 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 79b3e476080beb7faf41bddd6c3d7059cd1a5f31
commit: 23063d3d6a3b47d555a70e9aa764ba5c49cb31bc [77/120] mm, madvise: introduce MADV_COLD
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
git checkout 23063d3d6a3b47d555a70e9aa764ba5c49cb31bc
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
mm/madvise.c: In function 'madvise_cold_pte_range':
mm/madvise.c:332:7: error: implicit declaration of function 'is_huge_zero_pmd'; did you mean 'is_huge_zero_pud'? [-Werror=implicit-function-declaration]
if (is_huge_zero_pmd(orig_pmd))
^~~~~~~~~~~~~~~~
is_huge_zero_pud
>> mm/madvise.c:359:7: error: implicit declaration of function 'pmd_young'; did you mean 'pte_young'? [-Werror=implicit-function-declaration]
if (pmd_young(orig_pmd)) {
^~~~~~~~~
pte_young
>> mm/madvise.c:361:15: error: implicit declaration of function 'pmd_mkold'; did you mean 'pte_mkold'? [-Werror=implicit-function-declaration]
orig_pmd = pmd_mkold(orig_pmd);
^~~~~~~~~
pte_mkold
>> mm/madvise.c:361:13: error: incompatible types when assigning to type 'pmd_t {aka struct <anonymous>}' from type 'int'
orig_pmd = pmd_mkold(orig_pmd);
^
>> mm/madvise.c:363:4: error: implicit declaration of function 'set_pmd_at'; did you mean 'set_pte_at'? [-Werror=implicit-function-declaration]
set_pmd_at(mm, addr, pmd, orig_pmd);
^~~~~~~~~~
set_pte_at
mm/madvise.c:367:3: error: implicit declaration of function 'test_and_clear_page_young'; did you mean 'test_and_clear_bit_le'? [-Werror=implicit-function-declaration]
test_and_clear_page_young(page);
^~~~~~~~~~~~~~~~~~~~~~~~~
test_and_clear_bit_le
cc1: some warnings being treated as errors
vim +359 mm/madvise.c
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8311 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-25 8:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 8:27 [mmotm:master 77/120] mm/madvise.c:359:7: error: implicit declaration of function 'pmd_young'; did you mean 'pte_young'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).