Quoting Oscar Mateo (2018-04-16 22:57:01) > Silence smatch over: > > drivers/gpu/drm/i915/selftests/intel_workarounds.c:58 read_nonprivs() error: > 'cs' dereferencing possible ERR_PTR() > > by handling a potential (but unlikely) failure of intel_ring_begin. > > Fixes: f4ecfbfc32ed ("drm/i915: Check whitelist registers across resets") > Signed-off-by: Oscar Mateo <oscar.ma...@intel.com> > Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Serves me right for forgetting to check with smatch myself. Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx