[mmotm:master 117/211] mm/hmm.c:354:24: error: implicit declaration of function 'pmd_pfn'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux