kdbus: avoid the use of struct timespec accepted/tizen/mobile/20150630.002357 accepted/tizen/tv/20150630.002420 accepted/tizen/wearable/20150630.002430 submit/tizen/20150629.113101
authorArnd Bergmann <arnd@arndb.de>
Fri, 10 Apr 2015 11:43:37 +0000 (13:43 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 29 Jun 2015 10:50:40 +0000 (19:50 +0900)
commitfaf08eb5c2edee636b13372b25fbe3fdb8fe84c7
tree89aa50a42d9aae84a0e936f488fc6eacb6d79747
parentf2bbc7cc445945ca7675d96a458f64770c8ea7f2
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