mbox series

[0/2] Sparse errors on the i915_gem_stolen

Message ID 20240616070349.250899-1-andi.shyti@linux.intel.com (mailing list archive)
Headers show
Series Sparse errors on the i915_gem_stolen | expand

Message

Andi Shyti June 16, 2024, 7:03 a.m. UTC
Hi Jonathan,

Commit 05da7d9f717b ("drm/i915/gem: Downgrade stolen lmem setup
warning") produces two sparse warnings. The first one being a bit
more sever as it might cause a segmentation fault.

Andi

Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>

Andi Shyti (2):
  drm/i915/gem: Return -EINVAL instead of '0'
  drm/i915/gem: Use the correct format specifier for resource_size_t

 drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)