[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for PM/pm_runtime: move on hrtimer and nsec

Patchwork patchwork at emeril.freedesktop.org
Fri Dec 14 14:34:00 UTC 2018


== Series Details ==

Series: PM/pm_runtime: move on hrtimer and nsec
URL   : https://patchwork.freedesktop.org/series/54059/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
c435ac8f04a4 PM/pm_runtime: move autosuspend on hrtimer
-:142: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#142: FILE: drivers/base/power/runtime.c:523:
+			if (!(dev->power.timer_expires &&
+					dev->power.timer_expires <= expires)) {

-:153: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#153: FILE: drivers/base/power/runtime.c:533:
+				hrtimer_start_range_ns(&dev->power.suspend_timer,
+						ns_to_ktime(expires),

-:260: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#260: FILE: include/linux/pm_runtime.h:54:
+extern u64 pm_runtime_autosuspend_expiration(struct device *dev);

-:278: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#278: FILE: include/linux/pm_runtime.h:171:
+static inline u64 pm_runtime_autosuspend_expiration(

total: 0 errors, 0 warnings, 4 checks, 188 lines checked
62531c2b8c88 PM/runtime:Replace jiffies based accouting with ktime based accounting
21ebcb40a07b drm/i915: Move to new PM core fields



More information about the Intel-gfx mailing list