[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/gt: return NULL rather than a plain 0 integer

2021-09-25 Thread Patchwork
== Series Details == Series: drm/i915/gt: return NULL rather than a plain 0 integer URL : https://patchwork.freedesktop.org/series/95062/ State : failure == Summary == Applying: drm/i915/gt: return NULL rather than a plain 0 integer Using index info to reconstruct a base tree... M driver

[Intel-gfx] [PATCH] drm/i915/gt: return NULL rather than a plain 0 integer

2021-09-25 Thread Colin King
From: Colin Ian King Function gen7_ctx_vma returns a pointer to struct i915_vma, so returning a plain 0 integer isn't good practice. Fix this by returning a NULL instead. Signed-off-by: Colin Ian King --- drivers/gpu/drm/i915/gt/intel_ring_submission.c | 2 +- 1 file changed, 1 insertion(+), 1