[Intel-gfx] [drm-tip:drm-tip 15/1373] arch/frv/include/asm/pgalloc.h:48:2: error: implicit declaration of function 'pgtable_page_dtor'; did you mean 'pgdat_page_nr'?

kbuild test robot fengguang.wu at intel.com
Thu Mar 15 02:50:46 UTC 2018

tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   178cfb9373cc2bdfcb6ca73e03369d2c37cc4b58
commit: d8d019ccffb838bb0dd98e583b5c25ccc0bc6ece [15/1373] drm/amdgpu: Add KFD eviction fence
config: frv-allyesconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 7.2.0
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d8d019ccffb838bb0dd98e583b5c25ccc0bc6ece
        # save the attached .config to linux build tree
        make.cross ARCH=frv 

All errors (new ones prefixed by >>):

   In file included from arch/frv/include/asm/mmu_context.h:17:0,
                    from include/linux/mmu_context.h:5,
                    from drivers/gpu//drm/amd/amdgpu/amdgpu_amdkfd.h:29,
                    from drivers/gpu//drm/amd/amdgpu/amdgpu_amdkfd_fence.c:30:
   arch/frv/include/asm/pgalloc.h: In function 'pte_free':
>> arch/frv/include/asm/pgalloc.h:48:2: error: implicit declaration of function 'pgtable_page_dtor'; did you mean 'pgdat_page_nr'? [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

vim +48 arch/frv/include/asm/pgalloc.h

^1da177e include/asm-frv/pgalloc.h Linus Torvalds     2005-04-16  45  
2f569afd include/asm-frv/pgalloc.h Martin Schwidefsky 2008-02-08  46  static inline void pte_free(struct mm_struct *mm, pgtable_t pte)
^1da177e include/asm-frv/pgalloc.h Linus Torvalds     2005-04-16  47  {
2f569afd include/asm-frv/pgalloc.h Martin Schwidefsky 2008-02-08 @48  	pgtable_page_dtor(pte);
^1da177e include/asm-frv/pgalloc.h Linus Torvalds     2005-04-16  49  	__free_page(pte);
^1da177e include/asm-frv/pgalloc.h Linus Torvalds     2005-04-16  50  }
^1da177e include/asm-frv/pgalloc.h Linus Torvalds     2005-04-16  51  

:::::: The code at line 48 was first introduced by commit
:::::: 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4 CONFIG_HIGHPTE vs. sub-page page tables.

:::::: TO: Martin Schwidefsky <schwidefsky at de.ibm.com>
:::::: CC: Linus Torvalds <torvalds at woody.linux-foundation.org>

0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 50965 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20180315/f5b35493/attachment-0001.gz>

More information about the Intel-gfx mailing list