Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db4315d6 authored by Pavel Machek's avatar Pavel Machek Committed by Thomas Gleixner
Browse files

timer_list: print relative expiry time signed



Relative expiry time can get negative, so it should be signed.

Signed-off-by: default avatarPavel Machek <Pavel@suse.cz>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1309d4e6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -65,9 +65,9 @@ print_timer(struct seq_file *m, struct hrtimer *timer, int idx, u64 now)
	SEQ_printf(m, ", %s/%d", tmp, timer->start_pid);
#endif
	SEQ_printf(m, "\n");
	SEQ_printf(m, " # expires at %Lu nsecs [in %Lu nsecs]\n",
	SEQ_printf(m, " # expires at %Lu nsecs [in %Ld nsecs]\n",
		(unsigned long long)ktime_to_ns(timer->expires),
		(unsigned long long)(ktime_to_ns(timer->expires) - now));
		(long long)(ktime_to_ns(timer->expires) - now));
}

static void