[PATCH v2 08/32] drm/xe: Rename lookup_vma function to xe_find_vma_by_addr

kernel test robot lkp at intel.com
Mon Apr 7 22:42:51 UTC 2025


Hi Himal,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-xe/drm-xe-next]
[also build test WARNING on next-20250407]
[cannot apply to linus/master v6.15-rc1]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Himal-Prasad-Ghimiray/drm-xe-Introduce-xe_vma_op_prefetch_range-struct-for-prefetch-of-ranges/20250407-215536
base:   https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link:    https://lore.kernel.org/r/20250407101719.3350996-9-himal.prasad.ghimiray%40intel.com
patch subject: [PATCH v2 08/32] drm/xe: Rename lookup_vma function to xe_find_vma_by_addr
config: sparc-randconfig-001-20250407 (https://download.01.org/0day-ci/archive/20250408/202504080624.57T20xNh-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250408/202504080624.57T20xNh-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504080624.57T20xNh-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/xe/xe_vm.c:2158: warning: Function parameter or struct member 'page_addr' not described in 'xe_vm_find_vma_by_addr'
>> drivers/gpu/drm/xe/xe_vm.c:2158: warning: Excess function parameter 'page_address' description in 'xe_vm_find_vma_by_addr'


vim +2158 drivers/gpu/drm/xe/xe_vm.c

  2150	
  2151	/**
  2152	 * xe_vm_find_vma_by_addr() - Find a VMA by its address
  2153	 *
  2154	 * @vm: the xe_vm the vma belongs to
  2155	 * @page_address: address to look up
  2156	 */
  2157	struct xe_vma *xe_vm_find_vma_by_addr(struct xe_vm *vm, u64 page_addr)
> 2158	{
  2159		struct xe_vma *vma = NULL;
  2160	
  2161		if (vm->usm.last_fault_vma) {   /* Fast lookup */
  2162			if (vma_matches(vm->usm.last_fault_vma, page_addr))
  2163				vma = vm->usm.last_fault_vma;
  2164		}
  2165		if (!vma)
  2166			vma = xe_vm_find_overlapping_vma(vm, page_addr, SZ_4K);
  2167	
  2168		return vma;
  2169	}
  2170	

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


More information about the Intel-xe mailing list