]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee8ba0a829c648ae7ff6725900154e2dfb2c9d1e
treeef3dae3f253ecf0710dc1c8074f33e21294d0344
parentb4adf601974f61947a7b64ec9f738d65f83bc9ec
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