[Intel-gfx] [PATCH 8/9] drm/i915/selftests: Be explicit in ERR_PTR handling

Matthew Auld matthew.william.auld at gmail.com
Wed Nov 20 10:23:48 UTC 2019


On Wed, 20 Nov 2019 at 09:33, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> When setting up a full GGTT, we expect the next insert to fail with
> -ENOSPC. Simplify the use of ERR_PTR to not confuse either the reader or
> smatch.
>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> References: f40a7b7558ef ("drm/i915: Initial selftests for exercising eviction")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list