[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/5] drm/i915/gt: Include a bunch more rcs image state

Patchwork patchwork at emeril.freedesktop.org
Tue Dec 31 01:57:01 UTC 2019


== Series Details ==

Series: series starting with [1/5] drm/i915/gt: Include a bunch more rcs image state
URL   : https://patchwork.freedesktop.org/series/71506/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3900059d08ce drm/i915/gt: Include a bunch more rcs image state
-:22: WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#22: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:492:
+/*
+static void hex2offsets(FILE *file)

-:87: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'count' - possible side-effects?
#87: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:556:
+#define LRI(count, flags) ((flags) << 6 | (count) | BUILD_BUG_ON_ZERO(count >= BIT(6)))

total: 0 errors, 1 warnings, 1 checks, 203 lines checked
0e75786dcac1 drm/i915/gt: Clear LRC image inline
-:40: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#40: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:568:
+#define END(x) 0, (x)

total: 1 errors, 0 warnings, 0 checks, 239 lines checked
2f669a71fc28 drm/i915/gt: Ignore stale context state upon resume
cc1692e8276b drm/i915/gt: Discard stale context state from across idling
9cc55ba3c653 drm/i915/gt: Always poison the kernel_context image before unparking



More information about the Intel-gfx mailing list