Skip to content

Sparse errors on the i915_gem_stolen

Andi Shyti dri-devel intel-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/gem: Return NULL instead of '0'drivers/gpu/drm/i915/gem/i915_gem_stolen.c+1 -11 reply
2/2drm/i915/gem: Use the correct format specifier for resource_size_tdrivers/gpu/drm/i915/gem/i915_gem_stolen.c+2 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonathan CavittLucas De Marchi
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Sparse errors on the i915_gem_stolen

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 <[email protected]>
Cc Lucas De Marchi <[email protected]>

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(-)
Signature · 1 line
2.45.1