aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/hrtimer.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-07-11 11:16:41 -0700
committerThomas Gleixner <tglx@linutronix.de>2018-07-12 21:35:28 +0200
commita8802d97e73346bc81609df9dfba7d3306f40d87 (patch)
treede8f2bc033a598a1d4a609bdb445a8c70407a909 /kernel/time/hrtimer.c
parenthrtimer: Improve kernel message printing (diff)
downloadlinux-dev-a8802d97e73346bc81609df9dfba7d3306f40d87.tar.xz
linux-dev-a8802d97e73346bc81609df9dfba7d3306f40d87.zip
ktime: Provide typesafe ktime_to_ns()
Using ktime_to_ns() is nice to help backports to stable kernels. Having a typesafe function instead of a macro avoid stupid typos and waste of time tracking these typos. Reported-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lkml.kernel.org/r/20180711181641.10369-1-edumazet@google.com
Diffstat (limited to 'kernel/time/hrtimer.c')
0 files changed, 0 insertions, 0 deletions