== Series Details == Series: series starting with [1/4] drm/i915/selftests: Split preemption smoke test into threads URL : https://patchwork.freedesktop.org/series/50389/ State : warning == Summary == $ dim checkpatch origin/drm-tip 7cbb475e40b4 drm/i915/selftests: Split preemption smoke test into threads -:33: WARNING:LINE_SPACING: Missing a blank line after declarations #33: FILE: drivers/gpu/drm/i915/selftests/intel_lrc.c:605: + struct preempt_smoke *smoke = arg; + IGT_TIMEOUT(end_time); total: 0 errors, 1 warnings, 0 checks, 100 lines checked e3babdb4224b drm/i915/selftests: Include arbitration points in preemption smoketest a4e4f339f7f9 drm/i915: Reserve some priority bits for internal use f6db93f476e4 drm/i915: Combine multiple internal plists into the same i915_priolist bucket -:168: WARNING:FUNCTION_ARGUMENTS: function definition argument 'pl' should also have an identifier name #168: FILE: drivers/gpu/drm/i915/intel_lrc.c:367: + struct list_head *uninitialized_var(pl); -:286: WARNING:FUNCTION_ARGUMENTS: function definition argument 'pl' should also have an identifier name #286: FILE: drivers/gpu/drm/i915/intel_lrc.c:1179: + struct list_head *uninitialized_var(pl); -:315: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'plist' - possible side-effects? #315: FILE: drivers/gpu/drm/i915/intel_ringbuffer.h:199: +#define priolist_for_each_request(it, plist, idx) \ + for (idx = 0; idx < ARRAY_SIZE((plist)->requests); idx++) \ + list_for_each_entry(it, &(plist)->requests[idx], sched.link) -:315: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects? #315: FILE: drivers/gpu/drm/i915/intel_ringbuffer.h:199: +#define priolist_for_each_request(it, plist, idx) \ + for (idx = 0; idx < ARRAY_SIZE((plist)->requests); idx++) \ + list_for_each_entry(it, &(plist)->requests[idx], sched.link) -:319: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'plist' - possible side-effects? #319: FILE: drivers/gpu/drm/i915/intel_ringbuffer.h:203: +#define priolist_for_each_request_consume(it, n, plist, idx) \ + for (; (idx = ffs((plist)->used)); (plist)->used &= ~BIT(idx - 1)) \ + list_for_each_entry_safe(it, n, \ + &(plist)->requests[idx - 1], \ + sched.link) -:319: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects? #319: FILE: drivers/gpu/drm/i915/intel_ringbuffer.h:203: +#define priolist_for_each_request_consume(it, n, plist, idx) \ + for (; (idx = ffs((plist)->used)); (plist)->used &= ~BIT(idx - 1)) \ + list_for_each_entry_safe(it, n, \ + &(plist)->requests[idx - 1], \ + sched.link) total: 0 errors, 2 warnings, 4 checks, 272 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx