All of lore.kernel.org
 help / color / mirror / Atom feed
* [mmotm:master 117/211] mm/hmm.c:354:24: error: implicit declaration of function 'pmd_pfn'
@ 2017-03-17  1:05 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-03-17  1:05 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: 1640 bytes --]

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   8276ddb3c638602509386f1a05f75326dbf5ce09
commit: 905a9b0bd6eba8d56ea426ff5ad32b19eecae750 [117/211] mm/hmm/mirror: helper to snapshot CPU page table
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 905a9b0bd6eba8d56ea426ff5ad32b19eecae750
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   mm/hmm.c: In function 'hmm_vma_walk':
>> mm/hmm.c:354:24: error: implicit declaration of function 'pmd_pfn' [-Werror=implicit-function-declaration]
       unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
                           ^~~~~~~
   mm/hmm.c:358:5: error: implicit declaration of function 'hmm_pfns_clear' [-Werror=implicit-function-declaration]
        hmm_pfns_clear(&pfns[i], addr, next);
        ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/pmd_pfn +354 mm/hmm.c

   348			barrier();
   349			if (pmd_none(pmd) || pmd_bad(pmd)) {
   350				hmm_pfns_empty(&pfns[i], addr, next);
   351				continue;
   352			}
   353			if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) {
 > 354				unsigned long pfn = pmd_pfn(pmd) + pte_index(addr);
   355				hmm_pfn_t flags = flag;
   356	
   357				if (pmd_protnone(pmd)) {

---
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: 46778 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-17  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17  1:05 [mmotm:master 117/211] mm/hmm.c:354:24: error: implicit declaration of function 'pmd_pfn' 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.