[Intel-gfx] [PATCH] drm/i915/selftest/buddy: fixup igt_buddy_alloc_range

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 15 11:10:21 UTC 2019


Quoting Matthew Auld (2019-08-15 11:32:10)
> Dan reported the following static checker warning:
> 
> drivers/gpu/drm/i915/selftests/i915_buddy.c:670 igt_buddy_alloc_range()
> error: we previously assumed 'block' could be null (see line 665)
> 
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Dan Carpenter <dan.carpenter at oracle.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>
-Chris


More information about the Intel-gfx mailing list