✗ Fi.CI.CHECKPATCH: warning for drm/i915/lmem: debugfs for LMEM details (rev5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux