intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Sparse errors on the i915_gem_stolen
@ 2024-06-17 18:42 Andi Shyti
  2024-06-17 18:42 ` [PATCH v2 1/2] drm/i915/gem: Return NULL instead of '0' Andi Shyti
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Andi Shyti @ 2024-06-17 18:42 UTC (permalink / raw)
  To: intel-gfx, dri-devel; +Cc: Andi Shyti, Jonathan Cavitt, Lucas De Marchi

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.

The difference between v1 and v2 is that the patch should return
a NULL, which won't cause any issues.

Andi

Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>

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

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

-- 
2.45.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-27 13:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-17 18:42 [PATCH v2 0/2] Sparse errors on the i915_gem_stolen Andi Shyti
2024-06-17 18:42 ` [PATCH v2 1/2] drm/i915/gem: Return NULL instead of '0' Andi Shyti
2024-06-27 13:28   ` Lucas De Marchi
2024-06-17 18:42 ` [PATCH v2 2/2] drm/i915/gem: Use the correct format specifier for resource_size_t Andi Shyti
2024-06-27 13:27   ` Lucas De Marchi
2024-06-17 19:37 ` ✓ Fi.CI.BAT: success for Sparse errors on the i915_gem_stolen (rev2) Patchwork
2024-06-18  8:43 ` ✓ Fi.CI.IGT: " Patchwork
2024-06-18 19:34 ` [PATCH v2 0/2] Sparse errors on the i915_gem_stolen Cavitt, Jonathan
2024-06-19 10:56   ` Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).