[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/5] drm/i915: Wrap access to intel_engine.active

Patchwork patchwork at emeril.freedesktop.org
Sat Feb 6 02:40:12 UTC 2021


== Series Details ==

Series: series starting with [CI,1/5] drm/i915: Wrap access to intel_engine.active
URL   : https://patchwork.freedesktop.org/series/86797/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
ced9b3f47b92 drm/i915: Wrap access to intel_engine.active
69d8dcdc66c1 drm/i915: Move common active lists from engine to i915_scheduler
-:295: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#295: FILE: drivers/gpu/drm/i915/i915_request.h:55:
+#define RQ_ARG(rq) (rq) ? (rq)->fence.context : 0, (rq) ? (rq)->fence.seqno : 0

-:295: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rq' - possible side-effects?
#295: FILE: drivers/gpu/drm/i915/i915_request.h:55:
+#define RQ_ARG(rq) (rq) ? (rq)->fence.context : 0, (rq) ? (rq)->fence.seqno : 0

total: 1 errors, 0 warnings, 1 checks, 465 lines checked
c4249043eb53 drm/i915: Move scheduler queue
f993a982c9ad drm/i915: Move tasklet from execlists to sched
fe5dd19adf50 drm/i915/gt: Only kick the scheduler on timeslice/preemption change




More information about the Intel-gfx mailing list