[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Fix the GT fence revocation runtime PM logic
Patchwork
patchwork at emeril.freedesktop.org
Mon Mar 22 23:20:13 UTC 2021
== 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
More information about the Intel-gfx
mailing list