[mmotm:master 261/276] mm/hmm.c:303: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:   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: .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