OSDN Git Service

staging: android/vsoc: stop using 'timespec'
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Jun 2018 15:09:09 +0000 (17:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:57:06 +0000 (21:57 +0900)
commit10c553b154c725e27da2f09e45692222f97beb6e
treeef3dae3f253ecf0710dc1c8074f33e21294d0344
parent8632c614565d0c5fdde527889601c018e97b6384
staging: android/vsoc: stop using 'timespec'

The timespec structure suffers from the y2038 overflow and should not
be used. This changes handle_vsoc_cond_wait() to use ktime_t directly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Martijn Coenen <maco@android.com>
Tested-by: Alistair Strachan <astrachan@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/vsoc.c