* [mmotm:master 261/276] mm/hmm.c:303:24: error: implicit declaration of function 'pmd_pfn'
@ 2017-04-09 6:55 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-04-09 6:55 UTC (permalink / raw)
To: Jérôme Glisse
Cc: kbuild-all, Johannes Weiner, Evgeny Baskakov, John Hubbard,
Mark Hairgrove, Sherry Cheung, Subhash Gutti, Andrew Morton,
Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 5b220005fda0593464fc4549eea586e597bf783c
commit: 2c0105e7013870a0ce04fb21d68293fdba7c3459 [261/276] mm/hmm/mirror: helper to snapshot CPU page table
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 2c0105e7013870a0ce04fb21d68293fdba7c3459
# save the attached .config to linux build tree
make.cross ARCH=alpha
All errors (new ones prefixed by >>):
mm/hmm.c: In function 'hmm_vma_walk_pmd':
>> mm/hmm.c:303:24: error: implicit declaration of function 'pmd_pfn' [-Werror=implicit-function-declaration]
unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
^~~~~~~
mm/hmm.c:303:39: error: implicit declaration of function 'pte_index' [-Werror=implicit-function-declaration]
unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
^~~~~~~~~
cc1: some warnings being treated as errors
vim +/pmd_pfn +303 mm/hmm.c
297 return hmm_vma_walk_hole(start, end, walk);
298
299 if (pmd_bad(pmd) || pmd_protnone(pmd))
300 return hmm_vma_walk_clear(start, end, walk);
301
302 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) {
> 303 unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
304
305 flag |= pmd_write(pmd) ? HMM_PFN_WRITE : 0;
306 for (; addr < end; addr += PAGE_SIZE, i++, pfn++)
---
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: 51123 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-09 6:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-09 6:55 [mmotm:master 261/276] mm/hmm.c:303:24: error: implicit declaration of function 'pmd_pfn' 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