== Series Details == Series: drm/i915: Fix the GT fence revocation runtime PM logic URL : https://patchwork.freedesktop.org/series/88300/ State : warning == Summary == $ dim checkpatch origin/drm-tip 85e423a9bccf drm/i915: Fix the GT fence revocation runtime PM logic -:90: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rpm' - possible side-effects? #90: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:192: +#define with_intel_runtime_pm_if_active(rpm, wf) \ + for ((wf) = intel_runtime_pm_get_if_active(rpm); (wf); \ + intel_runtime_pm_put((rpm), (wf)), (wf) = 0) -:90: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wf' - possible side-effects? #90: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:192: +#define with_intel_runtime_pm_if_active(rpm, wf) \ + for ((wf) = intel_runtime_pm_get_if_active(rpm); (wf); \ + intel_runtime_pm_put((rpm), (wf)), (wf) = 0) total: 0 errors, 0 warnings, 2 checks, 58 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx