[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: use ref_tracker library in i915 (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Oct 31 22:15:03 UTC 2023
== Series Details ==
Series: drm/i915: use ref_tracker library in i915 (rev2)
URL : https://patchwork.freedesktop.org/series/125770/
State : warning
== Summary ==
Error: dim checkpatch failed
4b41f0f040fc drm/i915: Replace custom intel runtime_pm tracker with ref_tracker library
-:441: WARNING:NEW_TYPEDEFS: do not add new typedefs
#441: FILE: drivers/gpu/drm/i915/intel_wakeref.h:24:
+typedef unsigned long intel_wakeref_t;
total: 0 errors, 1 warnings, 0 checks, 431 lines checked
c3090ffce793 drm/i915: Track gt pm wakerefs
-:597: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'gt' - possible side-effects?
#597: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm.h:75:
+#define with_intel_gt_pm(gt, wf) \
+ for (wf = intel_gt_pm_get(gt); wf; intel_gt_pm_put(gt, wf), wf = 0)
-:597: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wf' - possible side-effects?
#597: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm.h:75:
+#define with_intel_gt_pm(gt, wf) \
+ for (wf = intel_gt_pm_get(gt); wf; intel_gt_pm_put(gt, wf), wf = 0)
total: 0 errors, 0 warnings, 2 checks, 908 lines checked
More information about the Intel-gfx
mailing list