aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index fb886d099baf..2e6e45a2803f 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -3009,8 +3009,8 @@ _base_send_ioc_init(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3009 * since epoch ~ midnight January 1, 1970. 3009 * since epoch ~ midnight January 1, 1970.
3010 */ 3010 */
3011 do_gettimeofday(&current_time); 3011 do_gettimeofday(&current_time);
3012 mpi_request.TimeStamp = (current_time.tv_sec * 1000) + 3012 mpi_request.TimeStamp = cpu_to_le64((u64)current_time.tv_sec * 1000 +
3013 (current_time.tv_usec >> 3); 3013 (current_time.tv_usec / 1000));
3014 3014
3015 if (ioc->logging_level & MPT_DEBUG_INIT) { 3015 if (ioc->logging_level & MPT_DEBUG_INIT) {
3016 u32 *mfp; 3016 u32 *mfp;