[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/lmem: debugfs for LMEM details (rev5)
Patchwork
patchwork at emeril.freedesktop.org
Fri Dec 27 13:44:12 UTC 2019
== Series Details ==
Series: drm/i915/lmem: debugfs for LMEM details (rev5)
URL : https://patchwork.freedesktop.org/series/71211/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
98a202b99116 drm/i915/lmem: debugfs for LMEM details
-:110: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#110: FILE: drivers/gpu/drm/i915/intel_memory_region.h:50:
+#define for_each_memory_region(mr, i915, id) \
+ for (id = 0; id < ARRAY_SIZE((i915)->mm.regions); id++) \
+ for_each_if(mr = i915->mm.regions[id])
-:110: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#110: FILE: drivers/gpu/drm/i915/intel_memory_region.h:50:
+#define for_each_memory_region(mr, i915, id) \
+ for (id = 0; id < ARRAY_SIZE((i915)->mm.regions); id++) \
+ for_each_if(mr = i915->mm.regions[id])
total: 0 errors, 0 warnings, 2 checks, 88 lines checked
More information about the Intel-gfx
mailing list