]> asedeno.scripts.mit.edu Git - linux.git/commit
timekeeping: Make the conversion call chain consistently unsigned
authorThomas Gleixner <tglx@linutronix.de>
Thu, 8 Dec 2016 20:49:34 +0000 (20:49 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 9 Dec 2016 11:06:41 +0000 (12:06 +0100)
commitacc89612a70e370a5640fd77a83f15b7b94d85e4
tree147bc4f82c26a46c2b7e0ce69f3926213bf50c67
parent9c1645727b8fa90d07256fdfcc45bf831242a3ab
timekeeping: Make the conversion call chain consistently unsigned

Propagating a unsigned value through signed variables and functions makes
absolutely no sense and is just prone to (re)introduce subtle signed
vs. unsigned issues as happened recently.

Clean it up.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Parit Bhargava <prarit@redhat.com>
Cc: Laurent Vivier <lvivier@redhat.com>
Cc: "Christopher S. Hall" <christopher.s.hall@intel.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Liav Rehana <liavr@mellanox.com>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/20161208204228.765843099@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/timekeeping.c