== 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx