Skip to content

Commit

Permalink
Revert "drm/i915/selftests: Fix return value check in live_breadcrumb…
Browse files Browse the repository at this point in the history
…s_smoketest()"

This reverts commit 4cf297e.
  • Loading branch information
ranjan-dutta committed Jul 6, 2021
1 parent fb765dd commit 567087b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/selftests/i915_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1391,8 +1391,8 @@ static int live_breadcrumbs_smoketest(void *arg)

for (n = 0; n < smoke[0].ncontexts; n++) {
smoke[0].contexts[n] = live_context(i915, file);
if (IS_ERR(smoke[0].contexts[n])) {
ret = PTR_ERR(smoke[0].contexts[n]);
if (!smoke[0].contexts[n]) {
ret = -ENOMEM;
goto out_contexts;
}
}
Expand Down

0 comments on commit 567087b

Please sign in to comment.