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
dot_command.c
dot_command.h
event.c
heartbeat.c
i2o.h
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
lowlevel.h
Makefile
module.c misc: ibmasm: remove unnecessary pci_set_drvdata() 2013-09-26 09:13:54 -07:00
r_heartbeat.c
remote.c
remote.h
uart.c 8250: three way resolve of the 8250 diffs 2012-07-17 09:11:50 -07:00