[PATCH v2] scsi: ips.c: Use jiffies comparison instead of do_gettimeofday()

2014-10-20 Thread Ebru Akagunduz
do_gettimeofday() only can get 32-bit time types but the driver should be able to use dates that are after January 2038. Remove do_gettimeofday() and use jiffies comparison to supply 64-bit time types. Signed-off-by: Ebru Akagunduz --- drivers/scsi/ips.c | 25 + drivers

[PATCH] scsi: ips.c: use 64-bit time types

2014-10-08 Thread Ebru Akagunduz
This patch changes 32-bit time types to 64-bit in ips.c time_t can only represent signed 32-bit dates but the driver should represent dates that are after January 2038. Use time64_t type instead of time_t. Signed-off-by: Ebru Akagunduz --- drivers/scsi/ips.c | 6 -- drivers/scsi/ips.h | 2