diff options
author | Eric Dumazet <[email protected]> | 2018-07-11 11:16:41 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-07-12 21:35:28 +0200 |
commit | a8802d97e73346bc81609df9dfba7d3306f40d87 (patch) | |
tree | de8f2bc033a598a1d4a609bdb445a8c70407a909 /net/lapb/lapb_subr.c | |
parent | 7a6e55375d5c584c7c11cfdcaa8ad9d6cccb419d (diff) |
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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions