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

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 4 11:08:12 UTC 2020


== Series Details ==

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

== Summary ==

$ dim checkpatch origin/drm-tip
dbd180308199 drm/i915/selftests: Exercise all copy engines with the blt routines
-:288: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'engine__' - possible side-effects?
#288: 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)))

-:288: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'class__' - possible side-effects?
#288: 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, 240 lines checked



More information about the Intel-gfx mailing list