[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'?

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

 



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
reproduce:
        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]
     pgtable_page_dtor(pte);
     ^~~~~~~~~~~~~~~~~
     pgdat_page_nr
   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@xxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux