linux/drivers/misc/ibmasm
Amitoj Kaur Chawla 46d83a8782 misc: ibmasm: Replace timeval with timespec64
This patch replaces timeval with timespec64 as 32 bit 'struct timeval'
will not give current time beyond year 2038.

The patch changes the code to use ktime_get_real_ts64() which returns
a 'struct timespec64' instead of do_gettimeofday() which returns a
'struct timeval'

This patch also alters the format strings in sprintf() for now.tv_sec
and now.tv_nsec to incorporate 'long long' on 32 bit architectures and
leading zeroes respectively.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-11 20:06:46 -08:00
..
command.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
dot_command.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
dot_command.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
event.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
heartbeat.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
i2o.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
ibmasm.h misc: ibmasm: Replace timeval with timespec64 2016-02-11 20:06:46 -08:00
ibmasmfs.c ibmasmfs: don't bother passing superblock when not needed 2013-09-03 22:52:50 -04:00
lowlevel.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
lowlevel.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
Makefile
module.c misc: ibmasm: remove unnecessary pci_set_drvdata() 2013-09-26 09:13:54 -07:00
r_heartbeat.c misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
remote.c
remote.h misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00
uart.c 8250: three way resolve of the 8250 diffs 2012-07-17 09:11:50 -07:00