tree: git://people.freedesktop.org/~agd5f/linux.git amd-20.45 head: a3950d94b046fb206e58fd3ec717f071c0203ba3 commit: 90e75e02fc4f30c8139b7321f8bbd635ec9d75ce [1835/2427] drm/amdkcl: dkms support for hmm config: x86_64-randconfig-a002-20201214 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git git fetch --no-tags radeon-alex amd-20.45 git checkout 90e75e02fc4f30c8139b7321f8bbd635ec9d75ce # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:788:5: error: redefinition of 'amdgpu_mn_register' int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) ^ drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:70:19: note: previous definition is here static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) ^ >> drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c:806:6: error: redefinition of 'amdgpu_mn_unregister' void amdgpu_mn_unregister(struct amdgpu_bo *bo) ^ drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:76:20: note: previous definition is here static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {} ^ 2 errors generated. vim +/amdgpu_mn_register +788 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c 778 779 /** 780 * amdgpu_mn_register - register a BO for notifier updates 781 * 782 * @bo: amdgpu buffer object 783 * @addr: userptr addr we should monitor 784 * 785 * Registers a mmu_notifier for the given BO at the specified address. 786 * Returns 0 on success, -ERRNO if anything goes wrong. 787 */ > 788 int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) 789 { 790 if (bo->kfd_bo) 791 return mmu_interval_notifier_insert(&bo->notifier, current->mm, 792 addr, amdgpu_bo_size(bo), 793 &amdgpu_mn_hsa_ops); 794 return mmu_interval_notifier_insert(&bo->notifier, current->mm, addr, 795 amdgpu_bo_size(bo), 796 &amdgpu_mn_gfx_ops); 797 } 798 799 /** 800 * amdgpu_mn_unregister - unregister a BO for notifier updates 801 * 802 * @bo: amdgpu buffer object 803 * 804 * Remove any registration of mmu notifier updates from the buffer object. 805 */ > 806 void amdgpu_mn_unregister(struct amdgpu_bo *bo) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel