aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorOscar Mateo <[email protected]>2018-04-16 14:57:01 -0700
committerChris Wilson <[email protected]>2018-04-17 11:40:27 +0100
commit94f8dfc6cdfc3c48c3aea59ce528fa93cb54a69f (patch)
tree4a878caff37255d95fa80793db31f0aabd80b36c /lib/test-string_helpers.c
parent9f172f6fbd243759c808d97bd83c95e49325b2c9 (diff)
drm/i915/selftests: Handle a potential failure of intel_ring_begin
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 <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions