tty: use 64-bit timstamp
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Jun 2018 14:16:26 +0000 (16:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:07:54 +0000 (21:07 +0900)
commitc884f871fb0ef0af0485d270215ba7f7debf38ad
treeb50c53aebe8ecac10b8e16333b4960b3d95dfb4b
parentfb7f1bf8d05e4f339450f3f74bd91c72ce980748
tty: use 64-bit timstamp

The automated VFS conversion to timespec64 has left one caller of
the deprecated get_seconds() function in the tty driver, this cleans
it up to call ktime_get_real_seconds() instead, fixing the possible
overflow.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c