summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorTina Ruchandani <ruchandani.tina@gmail.com>2015-10-30 09:30:40 +0100
committerJames Bottomley <JBottomley@Odin.com>2015-11-10 02:42:19 +0100
commit0da39687a15403251bdfd1c6fb18025c0607326b (patch)
tree624cc14dc0979e97981332ae81c1b5725b2908b2 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parentscsi_sysfs: Fix queue_ramp_up_period return code (diff)
downloadlinux-0da39687a15403251bdfd1c6fb18025c0607326b.tar.xz
linux-0da39687a15403251bdfd1c6fb18025c0607326b.zip
stex: Remove use of struct timeval
Function stex_gettime uses 'struct timeval' whose tv_sec value will overflow on 32-bit systems in year 2038 and beyond. This patch replaces the use of struct timeval and do_gettimeofday with ktime_get_real_seconds, which returns a 64-bit seconds value. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions