[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Declare the driver wedged if hangcheck makes no progress

Patchwork patchwork at emeril.freedesktop.org
Sat Jun 2 11:03:55 UTC 2018


== Series Details ==

Series: drm/i915: Declare the driver wedged if hangcheck makes no progress
URL   : https://patchwork.freedesktop.org/series/44138/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
04c23f53fbe3 drm/i915: Declare the driver wedged if hangcheck makes no progress
-:68: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#68: FILE: drivers/gpu/drm/i915/intel_hangcheck.c:373:
+	hc->wedged = time_after(jiffies,
+				 engine->hangcheck.action_timestamp +

-:109: WARNING:BOOL_BITFIELD: Avoid using bool as bitfield.  Prefer bool bitfields as unsigned int or u<8|16|32>
#109: FILE: drivers/gpu/drm/i915/intel_ringbuffer.h:125:
+	bool stalled:1;

-:110: WARNING:BOOL_BITFIELD: Avoid using bool as bitfield.  Prefer bool bitfields as unsigned int or u<8|16|32>
#110: FILE: drivers/gpu/drm/i915/intel_ringbuffer.h:126:
+	bool wedged:1;

total: 0 errors, 2 warnings, 1 checks, 72 lines checked



More information about the Intel-gfx mailing list