diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-11-20 09:33:01 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-11-20 10:37:43 +0000 |
| commit | e668950149dedb873496a282eae3a8319713de76 (patch) | |
| tree | 2d8653a69aff6239fbf4e7efc5987daad1dbb527 /tools/perf/scripts/python | |
| parent | ba446f746096f65e9ba80f80184441e708fba934 (diff) | |
| download | linux-e668950149dedb873496a282eae3a8319713de76.tar.gz linux-e668950149dedb873496a282eae3a8319713de76.zip | |
drm/i915/selftests: Be explicit in ERR_PTR handling
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@oracle.com>
References: f40a7b7558ef ("drm/i915: Initial selftests for exercising eviction")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191120093302.3723715-8-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
