[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gem: Check for a closed context when looking up an engine

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 16 23:18:58 UTC 2020


== Series Details ==

Series: drm/i915/gem: Check for a closed context when looking up an engine
URL   : https://patchwork.freedesktop.org/series/74750/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
a3c39e8196a9 drm/i915/gem: Check for a closed context when looking up an engine
-:30: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!e"
#30: FILE: drivers/gpu/drm/i915/gem/i915_gem_context.h:199:
+		if (unlikely(e == NULL)) /* context was closed! */

total: 0 errors, 0 warnings, 1 checks, 18 lines checked



More information about the Intel-gfx mailing list