diff options
| author | Tina Ruchandani <[email protected]> | 2015-10-30 08:30:40 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-11-10 01:42:19 +0000 |
| commit | 0da39687a15403251bdfd1c6fb18025c0607326b (patch) | |
| tree | 624cc14dc0979e97981332ae81c1b5725b2908b2 /drivers/fpga/fpga-mgr.c | |
| parent | scsi_sysfs: Fix queue_ramp_up_period return code (diff) | |
| download | kernel-0da39687a15403251bdfd1c6fb18025c0607326b.tar.gz kernel-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 <[email protected]>
Signed-off-by: Tina Ruchandani <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
