✗ Fi.CI.CHECKPATCH: warning for DPLL framework redesign (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed Apr 2 09:12:04 UTC 2025
== Series Details ==
Series: DPLL framework redesign (rev2)
URL : https://patchwork.freedesktop.org/series/145381/
State : warning
== Summary ==
Error: dim checkpatch failed
e72173af8e62 drm/i915/dpll: Rename intel_shared_dpll_state
3d9b9f9e9370 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
0155e141adbc drm/i915/dpll: Rename intel_shared_dpll_funcs
30ba91a860b2 drm/i915/dpll: Rename intel_shared_dpll
6d9fc44054c1 drm/i915/dpll: Move away from using shared dpll
c07845f9816d drm/i915/dpll: Rename crtc_get_shared_dpll
bea8205fb4ec drm/i915/dpll: Change argument for enable hook in intel_global_dpll_funcs
7ccb67c0b970 drm/i915/drm: Rename disable hook in intel_dpll_global_func
88641b6060f0 drm/i915/dpll: Introduce new hook in intel_dpll_global_func
a4f4fa2e9381 drm/i915/dpll: Add intel_encoder argument to get_hw_state hook
ffc85fdb6942 drm/i915/dpll: Change arguments for get_freq hook
1e9dbaf8d003 drm/i915/dpll: Rename intel_[enable/disable]_global_dpll
5b9bd872fd29 drm/i915/dpll: Rename intel_unreference_dpll_global_crtc
50100aa8abf5 drm/i915/dpll: Rename intel_<release/reserve>_dpll_globals
4e037f2ef042 drm/i915/dpll: Rename intel_compute_dpll_globals
b9d2294a7f2d drm/i915/dpll: Rename intel_update_active_dpll
More information about the Intel-gfx
mailing list