Skip to content
Commit fde789e8 authored by Matthew Auld's avatar Matthew Auld Committed by Christian König
Browse files

drm/i915/ttm: fix sparse warning



Sparse complains with:

drivers/gpu/drm/i915/gem/i915_gem_ttm.c:1066:21: sparse:
	expected restricted vm_fault_t [assigned] [usertype] ret
drivers/gpu/drm/i915/gem/i915_gem_ttm.c:1066:21: sparse: got int

Fixes: 516198d3 ("drm/i915: audit bo->resource usage v3")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230130101230.25347-1-matthew.auld@intel.com


Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Acked-by: default avatarChristian König <ckoenig.leichtzumerken@gmail.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
parent ec6ec9c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment