kdbus: avoid the use of struct timespec
authorArnd Bergmann <arnd@arndb.de>
Fri, 10 Apr 2015 11:43:37 +0000 (13:43 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 4 Apr 2016 01:12:38 +0000 (10:12 +0900)
commit9702e285dba7e96887e40c54f97d443f80606410
treed9a686efb587f373487e54b40382a94d4a890883
parentee73ba75411f916d58b7845808276c9f6ada2739
kdbus: avoid the use of struct timespec

I did a routine check for new users of 'timespec', which we are trying to remove
from the kernel in order to survive y2038. kdbus came up and looks particularly
trivial to clean up.

This changes the three ktime_get_ts() variants used in kdbus to ktime_get_ns(),
which aside from removing timespec also simplifies the code and makes it
slightly more efficient by avoiding a two-way conversion.

Change-Id: Ia9a2da376609d8e0ec6e311e4c9f27ed3702350e
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
ipc/kdbus/metadata.c
ipc/kdbus/reply.c