oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [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'
@ 2023-08-11 20:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-11 20:33 UTC (permalink / raw)
  To: Alex Sierra
  Cc: oe-kbuild-all, Linux Memory Management List, Alex Deucher,
	Philip Yang, Felix Kuehling

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@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120420.43Ww4zyU-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308120420.43Ww4zyU-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-11 20:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 20:33 [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' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).