[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Exercise all copy engines with the blt routines (rev2)

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 4 12:54:03 UTC 2020


== Series Details ==

Series: drm/i915/selftests: Exercise all copy engines with the blt routines (rev2)
URL   : https://patchwork.freedesktop.org/series/77994/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
9edabff31b22 drm/i915/selftests: Exercise all copy engines with the blt routines
-:292: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'engine__' - possible side-effects?
#292: FILE: drivers/gpu/drm/i915/i915_drv.h:1267:
+#define for_each_uabi_class_engine(engine__, class__, i915__) \
+	for ((engine__) = intel_engine_lookup_user((i915__), (class__), 0); \
+	     (engine__) && (engine__)->uabi_class == (class__); \
+	     (engine__) = rb_to_uabi_engine(rb_next(&(engine__)->uabi_node)))

-:292: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'class__' - possible side-effects?
#292: FILE: drivers/gpu/drm/i915/i915_drv.h:1267:
+#define for_each_uabi_class_engine(engine__, class__, i915__) \
+	for ((engine__) = intel_engine_lookup_user((i915__), (class__), 0); \
+	     (engine__) && (engine__)->uabi_class == (class__); \
+	     (engine__) = rb_to_uabi_engine(rb_next(&(engine__)->uabi_node)))

total: 0 errors, 0 warnings, 2 checks, 243 lines checked



More information about the Intel-gfx mailing list