== Series Details ==

Series: drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/
URL   : https://patchwork.freedesktop.org/series/66021/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
1d3004f933d6 drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/
-:82: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__iter' - possible 
side-effects?
#82: FILE: drivers/gpu/drm/i915/i915_scatterlist.h:76:
+#define __for_each_sgt_daddr(__dp, __iter, __sgt, __step)              \
        for ((__iter) = __sgt_iter((__sgt)->sgl, true);                 \
+            ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp;     \
             (((__iter).curr += (__step)) >= (__iter).max) ?            \
             (__iter) = __sgt_iter(__sg_next((__iter).sgp), true), 0 : 0)

total: 0 errors, 0 warnings, 1 checks, 61 lines checked

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to