mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [agd5f:amd-staging-drm-next 1307/1318] drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c:628: warning: expecting prototype for amdgpu_vm_free_table(). Prototype was for amdgpu_vm_pt_free() instead
@ 2022-03-25  4:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-25  4:28 UTC (permalink / raw)
  To: Christian König; +Cc: kbuild-all, linux-kernel

tree:   https://gitlab.freedesktop.org/agd5f/linux.git amd-staging-drm-next
head:   97c2bccc87d3d7bc08400c3d3773c327492a0f3d
commit: 59f2ef3cadef58fdee8d794bf28fc31b9613dc47 [1307/1318] drm/amdgpu: separate VM PT handling into amdgpu_vm_pt.c
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220325/202203251221.2xwHTw12-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.0
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
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f amd-staging-drm-next
        git checkout 59f2ef3cadef58fdee8d794bf28fc31b9613dc47
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c:628: warning: expecting prototype for amdgpu_vm_free_table(). Prototype was for amdgpu_vm_pt_free() instead


vim +628 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c

   621	
   622	/**
   623	 * amdgpu_vm_free_table - fre one PD/PT
   624	 *
   625	 * @entry: PDE to free
   626	 */
   627	static void amdgpu_vm_pt_free(struct amdgpu_vm_bo_base *entry)
 > 628	{
   629		struct amdgpu_bo *shadow;
   630	
   631		if (!entry->bo)
   632			return;
   633		shadow = amdgpu_bo_shadowed(entry->bo);
   634		entry->bo->vm_bo = NULL;
   635		list_del(&entry->vm_status);
   636		amdgpu_bo_unref(&shadow);
   637		amdgpu_bo_unref(&entry->bo);
   638	}
   639	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-03-25  4:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25  4:28 [agd5f:amd-staging-drm-next 1307/1318] drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c:628: warning: expecting prototype for amdgpu_vm_free_table(). Prototype was for amdgpu_vm_pt_free() instead 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

all inboxes | Powered by JetHome®