[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
Thu Jan 2 18:16:27 UTC 2020


== Series Details ==

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

== Summary ==

$ dim checkpatch origin/drm-tip
45be0b74860c drm/i915/gt: Include a bunch more rcs image state
-:22: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'count' - possible side-effects?
#22: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:495:
+#define LRI(count, flags) ((flags) << 6 | (count) | BUILD_BUG_ON_ZERO(count >= BIT(6)))

total: 0 errors, 0 warnings, 1 checks, 119 lines checked
ad10e072d9a8 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:507:
+#define END(x) 0, (x)

total: 1 errors, 0 warnings, 0 checks, 239 lines checked
ed9d9bc9491f drm/i915/gt: Ignore stale context state upon resume
3af8edaa285a drm/i915/gt: Discard stale context state from across idling
0c77ece7c3e9 drm/i915/gt: Always poison the kernel_context image before unparking



More information about the Intel-gfx mailing list