✗ Fi.CI.CHECKPATCH: warning for RPM Encapsulation (rev2)

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

 



== Series Details ==

Series: RPM Encapsulation (rev2)
URL   : https://patchwork.freedesktop.org/series/61976/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
997c1d60a119 drm/i915: prefer i915_runtime_pm in intel_runtime function
4017cb4a3083 drm/i915: Remove rpm asserts that use i915
d63294884cad drm/i915: make enable/disable rpm assert function use the rpm structure
768ac1cf35a5 drm/i915: move and rename i915_runtime_pm
-:455: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#455: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:65:
+		spinlock_t lock;

total: 0 errors, 0 warnings, 1 checks, 519 lines checked
745e10797905 drm/i915: move a few more functions to accept the rpm structure
5a54e53a457b drm/i915: update rpm_get/put to use the rpm structure
319d7944d790 drm/i915: update with_intel_runtime_pm to use the rpm structure
-:445: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rpm' - possible side-effects?
#445: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:182:
+#define with_intel_runtime_pm(rpm, wf) \
+	for ((wf) = intel_runtime_pm_get(rpm); (wf); \
+	     intel_runtime_pm_put((rpm), (wf)), (wf) = 0)

-:445: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wf' - possible side-effects?
#445: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:182:
+#define with_intel_runtime_pm(rpm, wf) \
+	for ((wf) = intel_runtime_pm_get(rpm); (wf); \
+	     intel_runtime_pm_put((rpm), (wf)), (wf) = 0)

-:452: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'rpm' - possible side-effects?
#452: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:186:
+#define with_intel_runtime_pm_if_in_use(rpm, wf) \
+	for ((wf) = intel_runtime_pm_get_if_in_use(rpm); (wf); \
+	     intel_runtime_pm_put((rpm), (wf)), (wf) = 0)

-:452: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wf' - possible side-effects?
#452: FILE: drivers/gpu/drm/i915/intel_runtime_pm.h:186:
+#define with_intel_runtime_pm_if_in_use(rpm, wf) \
+	for ((wf) = intel_runtime_pm_get_if_in_use(rpm); (wf); \
+	     intel_runtime_pm_put((rpm), (wf)), (wf) = 0)

total: 0 errors, 0 warnings, 4 checks, 396 lines checked
8882c98e415d drm/i915: make intel_wakeref work on the rpm struct

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




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

  Powered by Linux