>
> 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
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/
>
> 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
.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
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
.
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
> 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
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
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
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
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
, 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
.
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
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
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
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
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
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
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
19 matches
Mail list logo