✗ Fi.CI.CHECKPATCH: warning for DPLL framework redesign (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Mon Apr 7 16:33:45 UTC 2025
== Series Details ==
Series: DPLL framework redesign (rev3)
URL : https://patchwork.freedesktop.org/series/145381/
State : warning
== Summary ==
Error: dim checkpatch failed
d888e55ce6d1 drm/i915/dpll: Rename intel_dpll
7b95348ca36b drm/i915/dpll: Rename intel_dpll_funcs
7c9ba56408c3 drm/i915/dpll: Rename intel_shared_dpll_state
45ae24f9a38c drm/i915/dpll: Rename macro for_each_shared_dpll
-:102: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__display' - possible side-effects?
#102: FILE: drivers/gpu/drm/i915/display/intel_dpll_mgr.h:33:
+#define for_each_dpll(__display, __pll, __i) \
for ((__i) = 0; (__i) < (__display)->dpll.num_shared_dpll && \
((__pll) = &(__display)->dpll.shared_dplls[(__i)]) ; (__i)++)
-:102: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#102: FILE: drivers/gpu/drm/i915/display/intel_dpll_mgr.h:33:
+#define for_each_dpll(__display, __pll, __i) \
for ((__i) = 0; (__i) < (__display)->dpll.num_shared_dpll && \
((__pll) = &(__display)->dpll.shared_dplls[(__i)]) ; (__i)++)
total: 0 errors, 0 warnings, 2 checks, 81 lines checked
3fe75033b50b drm/i915/dpll: Rename intel_shared_dpll_funcs
3d8dd3500064 drm/i915/dpll: Rename intel_shared_dpll
f7e8ae28a459 drm/i915/dpll: Move away from using shared dpll
930f82c5dbf8 drm/i915/dpll: Rename crtc_get_shared_dpll
cffe147003db drm/i915/dpll: Change argument for enable hook in intel_dpll_funcs
903f0e6cba85 drm/i915/drm: Rename disable hook in intel_dpll_global_func
4c69d57d5df9 drm/i915/dpll: Introduce new hook in intel_dpll_funcs
23b5e756af7d drm/i915/dpll: Add intel_encoder argument to get_hw_state hook
0fb2ee273b73 drm/i915/dpll: Change arguments for get_freq hook
25ab15f68e87 drm/i915/dpll: Rename intel_[enable/disable]_dpll
bd931011cc54 drm/i915/dpll: Rename intel_unreference_dpll__crtc
75611d64be01 drm/i915/dpll: Rename intel_<release/reserve>_dpll
663b5dcd188c drm/i915/dpll: Rename intel_compute_dpll
66e10f953fc9 drm/i915/dpll: Rename intel_update_active_dpll
More information about the Intel-gfx
mailing list