]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Fix uninitialized return values
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 10 Sep 2025 15:11:28 +0000 (17:11 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 11 Sep 2025 06:45:12 +0000 (08:45 +0200)
commit692a4802435ba7389810b15b476ed360675e38c1
tree6faaa2ea0275e15bf406217e8941ce2637158719
parentb98775bca99511cc22ab459a2de646cd2fa7241f
drm/xe: Fix uninitialized return values

clang warned about two uninitialized variables used as return
values in the exhaustive eviction series.

Fix those.

Fixes: 1f1541720f65 ("drm/xe: Rework instances of variants of xe_bo_create_locked()")
Fixes: 7bcb6e38c14d ("drm/xe/display: Convert __xe_pin_fb_vma()")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Link: https://lore.kernel.org/r/20250910151128.49693-1-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
drivers/gpu/drm/xe/display/xe_fb_pin.c