Re: [PATCH, RESEND 3] qla2xxx: Remove use of 'struct timeval'

2016-04-13 Thread Tina Ruchandani
> > Applied to 4.6/scsi-queue. Hi Martin, I am not seeing this patch in v4.6-rc3 in Linus's tree. Should I resend this? Thanks, Tina -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] mpt3sas: Remove usage of 'struct timeval'

2016-04-13 Thread Tina Ruchandani
since Unix epoch). Signed-off-by: Tina Ruchandani <ruchandani.t...@gmail.com> Reviewed-by: Arnd Bergmann <a...@arndb.de> --- drivers/scsi/mpt3sas/mpt3sas_base.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/

Re: [RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-10-30 Thread Tina Ruchandani
> > Thanks for the conversion. Can you please check if other (scsi) drivers > have the same y2038 issues? A quick "git grep do_gettimeofday > drivers/scsi/ | wc -l" reveals 30 occurrences (of cause not all are > problematic). > Hi Johannes, Yes, there are quite a few occurrences of timeval

[RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-10-30 Thread Tina Ruchandani
.de> Signed-off-by: Tina Ruchandani <ruchandani.t...@gmail.com> -- Changes in v3: - Remove stex_gettime altogether, directly assign the timestamp. Changes in v2: - Change subject line to indicate that the patch is restricted to stex driver. --- --- drivers/scsi/stex.c | 13 +++-- 1

[RESEND PATCH] mpt2sas: Remove usage of 'struct timeval'

2015-10-30 Thread Tina Ruchandani
since Unix epoch). Signed-off-by: Tina Ruchandani <ruchandani.t...@gmail.com> --- drivers/scsi/mpt2sas/mpt2sas_base.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 58e4521..6d80477

[RESEND PATCH] qla2xxx: Remove use of 'struct timeval'

2015-10-30 Thread Tina Ruchandani
. Signed-off-by: Tina Ruchandani <ruchandani.t...@gmail.com> --- drivers/scsi/qla2xxx/qla_mr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 6d190b4..d64a64a 100644 --- a/drivers/scsi/qla2xxx/qla_mr.c

Re: [RESEND PATCH] mpt2sas: Remove usage of 'struct timeval'

2015-10-30 Thread Tina Ruchandani
> Can you wait a cycle on this? Martin Petersen is on a mission to wrangle the > mpt2/3sas merger in this window, which will conflict with this. > James, No issues. Making a note here though that the patches for mpt2sas_base.c and mpt3sas_base.c are identical, I submitted the latter before I saw

[RESEND PATCH] [SCSI] mvumi: 64bit value for seconds_since1970

2015-10-30 Thread Tina Ruchandani
onds value, which is 2038 safe. Signed-off-by: Tina Ruchandani <ruchandani.t...@gmail.com> --- drivers/scsi/mvumi.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index 3e6b866..02360de 100644 --- a/drivers/scsi/mvumi

[RESEND PATCH] mpt3sas: Remove usage of 'struct timeval'

2015-10-30 Thread Tina Ruchandani
since Unix epoch). Signed-off-by: Tina Ruchandani <ruchandani.t...@gmail.com> --- drivers/scsi/mpt3sas/mpt3sas_base.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 1560115..ee9c3c6

[PATCH v2] scsi: stex: Remove use of struct timeval

2015-02-24 Thread Tina Ruchandani
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. Signed-off-by: Tina Ruchandani ruchandani.t

[PATCH v2] scsi: pmcraid: Remove usage of struct timeval

2015-02-24 Thread Tina Ruchandani
struct timeval will have its tv_sec field overflow on 32-bit systems in year 2038 and beyond. This patch removes the usage of struct timeval and instead uses 64-bit ktime_t to get the current milliseconds to populate pmcraid_timestamp_data. Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com

[PATCH] [SCSI] mvumi: 64bit value for seconds_since1970

2015-02-24 Thread Tina Ruchandani
, which is 2038 safe. Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com --- drivers/scsi/mvumi.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index 3e6b866..02360de 100644 --- a/drivers/scsi/mvumi.c +++ b/drivers/scsi

[PATCH] qla2xxx: Remove use of 'struct timeval'

2015-02-24 Thread Tina Ruchandani
. Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com --- drivers/scsi/qla2xxx/qla_mr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 6d190b4..d64a64a 100644 --- a/drivers/scsi/qla2xxx/qla_mr.c +++ b

[PATCH v2] [SCSI] bfa: Replace bfa_get_log_time()

2015-02-24 Thread Tina Ruchandani
struct timeval will have its tv_sec field overflow on 32-bit systems in year 2038 and beyond. This patch removes bfa_get_log_time which uses struct timeval, and instead replaces calls to it with calls to ktime_get_real_seconds() which returns 64-bit wall-clock seconds. Signed-off-by: Tina

[PATCH] mpt2sas: Remove usage of 'struct timeval'

2015-02-03 Thread Tina Ruchandani
since Unix epoch). Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com --- drivers/scsi/mpt2sas/mpt2sas_base.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 58e4521..6d80477 100644

[PATCH] scsi: Remove usage of struct timeval

2015-02-03 Thread Tina Ruchandani
struct timeval will have its tv_sec field overflow on 32-bit systems in year 2038 and beyond. This patch removes the usage of struct timeval and instead uses 64-bit ktime_t to get the current milliseconds to populate pmcraid_timestamp_data. Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com

[PATCH] mpt3sas: Remove usage of 'struct timeval'

2015-02-03 Thread Tina Ruchandani
since Unix epoch). Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com --- drivers/scsi/mpt3sas/mpt3sas_base.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 1560115..ee9c3c6 100644

[PATCH] [SCSI] bfa: Remove use of struct timeval

2015-02-03 Thread Tina Ruchandani
struct timeval will have its tv_sec field overflow on 32-bit systems in year 2038 and beyond. This patch removes the usage of struct timeval and instead uses ktime_get_real_seconds() which returns 64-bit wall-clock seconds. Signed-off-by: Tina Ruchandani ruchandani.t...@gmail.com --- drivers

[PATCH] scsi: Remove use of struct timeval

2015-02-03 Thread Tina Ruchandani
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. Signed-off-by: Tina Ruchandani ruchandani.t