✗ Fi.CI.CHECKPATCH: warning for drm/i915: use ref_tracker library in i915 (rev4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915: use ref_tracker library in i915 (rev4)
URL   : https://patchwork.freedesktop.org/series/125770/
State : warning

== Summary ==

Error: dim checkpatch failed
8742c98b7241 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
ec6c6750ccb0 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





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux