Re: [PATCH][next] drm/i915/selftests: Fix inconsistent IS_ERR and PTR_ERR

2020-06-16 Thread Chris Wilson
Quoting Gustavo A. R. Silva (2020-06-16 15:54:52) > Fix inconsistent IS_ERR and PTR_ERR in live_timeslice_nopreempt(). > > The proper pointer to be passed as argument to PTR_ERR() is ce. > > This bug was detected with the help of Coccinelle. > > Fixes: b72f02d78e4f ("drm/i915/gt: Prevent

[PATCH][next] drm/i915/selftests: Fix inconsistent IS_ERR and PTR_ERR

2020-06-16 Thread Gustavo A. R. Silva
Fix inconsistent IS_ERR and PTR_ERR in live_timeslice_nopreempt(). The proper pointer to be passed as argument to PTR_ERR() is ce. This bug was detected with the help of Coccinelle. Fixes: b72f02d78e4f ("drm/i915/gt: Prevent timeslicing into unpreemptable requests") Signed-off-by: Gustavo A.