diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-13 15:47:24 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-13 16:21:18 +0300 |
commit | ef47a0e0f49d5302819ea7a30920af05399ee4d5 (patch) | |
tree | fb0256576eaa7100baa052ae1d9406ea3e555f41 /drivers/video | |
parent | 1257e0f804b7c2191691c0dbd455775944b9107f (diff) | |
download | linux-ef47a0e0f49d5302819ea7a30920af05399ee4d5.tar.xz |
drm/i915/selftests: Catch error from mock_file()
The patch 791ff39ae32a: "drm/i915: Live testing for context
execution" from Feb 13, 2017, leads to the following static checker
warning:
drivers/gpu/drm/i915/selftests/i915_gem_context.c:347 igt_ctx_exec()
error: 'file' dereferencing possible ERR_PTR()
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 791ff39ae32a ("drm/i915: Live testing for context execution")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: <drm-intel-fixes@lists.freedesktop.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170313124724.10614-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions