lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202203251221.2xwHTw12-lkp@intel.com>
Date:   Fri, 25 Mar 2022 12:28:42 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christian König <christian.koenig@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [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

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@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ