summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-03-21 12:24:51 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-03-21 13:30:16 +0000
commit401f147b16d90ae378ec8218679e6fdba96e13cf (patch)
treebc4bd03dfc2d729fa6835d1206d72eb875cf0166 /drivers/gpu/drm/armada
parentab7529f2441791cdfe6c8e3202f35f3e811985a6 (diff)
drm/i915/selftests: fix NULL vs IS_ERR() check in mock_context_barrier()
The mock_context() function returns NULL on error, it doesn't return error pointers. Fixes: 85fddf0b0027 ("drm/i915: Introduce a context barrier callback") 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/20190321092451.GK2202@kadam
Diffstat (limited to 'drivers/gpu/drm/armada')
0 files changed, 0 insertions, 0 deletions