commit | 602cbe8efc523ba56e1f41e8f74c7aa835672593 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Mar 26 08:08:43 2019 +0300 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Mar 26 14:53:01 2019 +0000 |
tree | 8924a259f68971d9f0a1a5b86f4f1ca5e458e934 | |
parent | 97ee6e925552438600f6c244595e3f07612bbf6f [diff] |
drm/i915/selftests: Fix an IS_ERR() vs NULL check The live_context() function returns error pointers. It never returns NULL. Fixes: 9c1477e83e62 ("drm/i915/selftests: Exercise adding requests to a full GGTT") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190326050843.GA20038@kadam