[linux-next:master 3829/8441] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:50:9: error: implicit declaration of function '_dynamic_func_call_no_desc'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   21ef7b1e17d039053edaeaf41142423810572741
commit: 8923137dbe4b24863694c35284df51d036b5dd5e [3829/8441] drm/amdkfd: avoid svm dump when dynamic debug disabled
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230812/202308120420.43Ww4zyU-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120420.43Ww4zyU-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308120420.43Ww4zyU-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c: In function 'svm_range_set_attr':
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:50:9: error: implicit declaration of function '_dynamic_func_call_no_desc' [-Werror=implicit-function-declaration]
      50 |         _dynamic_func_call_no_desc("svm_range_dump", svm_range_debug_dump, svms)
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:3568:9: note: in expansion of macro 'dynamic_svm_range_dump'
    3568 |         dynamic_svm_range_dump(svms);
         |         ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/_dynamic_func_call_no_desc +50 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c

    44	
    45	/* Long enough to ensure no retry fault comes after svm range is restored and
    46	 * page table is updated.
    47	 */
    48	#define AMDGPU_SVM_RANGE_RETRY_FAULT_PENDING	(2UL * NSEC_PER_MSEC)
    49	#define dynamic_svm_range_dump(svms) \
  > 50		_dynamic_func_call_no_desc("svm_range_dump", svm_range_debug_dump, svms)
    51	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[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