Hi Oliver,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.12-rc6 next-20170623]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Oliver-O-Halloran/mm-x86-Add-ARCH_HAS_ZONE_DEVICE-to-Kconfig/20170625-102522
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-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
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   mm/gup.c: In function '__gup_device_huge_pud':
>> mm/gup.c:1329:14: error: implicit declaration of function 'pud_pfn' 
>> [-Werror=implicit-function-declaration]
     fault_pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT);
                 ^~~~~~~
   cc1: some warnings being treated as errors

vim +/pud_pfn +1329 mm/gup.c

b59f65fa Kirill A. Shutemov 2017-03-16  1323  
b59f65fa Kirill A. Shutemov 2017-03-16  1324  static int 
__gup_device_huge_pud(pud_t pud, unsigned long addr,
b59f65fa Kirill A. Shutemov 2017-03-16  1325            unsigned long end, 
struct page **pages, int *nr)
b59f65fa Kirill A. Shutemov 2017-03-16  1326  {
b59f65fa Kirill A. Shutemov 2017-03-16  1327    unsigned long fault_pfn;
b59f65fa Kirill A. Shutemov 2017-03-16  1328  
b59f65fa Kirill A. Shutemov 2017-03-16 @1329    fault_pfn = pud_pfn(pud) + 
((addr & ~PUD_MASK) >> PAGE_SHIFT);
b59f65fa Kirill A. Shutemov 2017-03-16  1330    return 
__gup_device_huge(fault_pfn, addr, end, pages, nr);
b59f65fa Kirill A. Shutemov 2017-03-16  1331  }
b59f65fa Kirill A. Shutemov 2017-03-16  1332  #else

:::::: The code at line 1329 was first introduced by commit
:::::: b59f65fa076a8eac2ff3a8ab7f8e1705b9fa86cb mm/gup: Implement the 
dev_pagemap() logic in the generic get_user_pages_fast() function

:::::: TO: Kirill A. Shutemov <kirill.shute...@linux.intel.com>
:::::: CC: Ingo Molnar <mi...@kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to