[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Second attempt at fixing the fb-helper .best_encoder() mess
Patchwork
patchwork at emeril.freedesktop.org
Tue Jun 26 18:25:08 UTC 2018
== Series Details ==
Series: drm: Second attempt at fixing the fb-helper .best_encoder() mess
URL : https://patchwork.freedesktop.org/series/45422/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
eebb696c2139 drm/fb-helper: Eliminate the .best_encoder() usage
b75ca3e84ab2 drm/i915: Nuke intel_mst_best_encoder()
111eeb2a13e6 drm: Add drm_for_each_connector_encoder_ids()
-:131: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'connector' - possible side-effects?
#131: FILE: include/drm/drm_connector.h:1202:
+#define drm_for_each_connector_encoder_ids(connector, encoder_id, __i) \
+ for ((__i) = 0; (__i) < ARRAY_SIZE((connector)->encoder_ids) && \
+ (connector)->encoder_ids[(__i)] != 0; (__i)++) \
+ for_each_if((encoder_id) = (connector)->encoder_ids[(__i)])
-:131: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#131: FILE: include/drm/drm_connector.h:1202:
+#define drm_for_each_connector_encoder_ids(connector, encoder_id, __i) \
+ for ((__i) = 0; (__i) < ARRAY_SIZE((connector)->encoder_ids) && \
+ (connector)->encoder_ids[(__i)] != 0; (__i)++) \
+ for_each_if((encoder_id) = (connector)->encoder_ids[(__i)])
total: 0 errors, 0 warnings, 2 checks, 97 lines checked
80d66565fb4e drm/amdgpu: Use drm_for_each_connector_encoder_ids()
5665f4e07eb7 drm/msm: Use drm_for_each_connector_encoder_ids()
f1b7ac77b2fc drm/nouveau: Use drm_for_each_connector_encoder_ids()
d955c57fd754 drm/radeon: Use drm_for_each_connector_encoder_ids()
03e3457fbf75 drm/tilcdc: Use drm_for_each_connector_encoder_ids()
More information about the Intel-gfx
mailing list