All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Thumshirn <jthumshirn@suse.de>
To: Tina Ruchandani <ruchandani.tina@gmail.com>
Cc: jejb@linux.vnet.ibm.com, Arnd Bergmann <arnd@arndb.de>,
	linux-scsi@vger.kernel.org, y2038@lists.linaro.org,
	linux-kernel@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com
Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval'
Date: Fri, 15 Apr 2016 09:16:18 +0200	[thread overview]
Message-ID: <1561298.UGYTUHuOD6@c203> (raw)
In-Reply-To: <20160413070140.GA35235@localhost>

On Mittwoch, 13. April 2016 00:01:40 CEST Tina Ruchandani wrote:
> 'struct timeval' will have its tv_sec value overflow on 32-bit systems
> in year 2038 and beyond. This patch replaces the use of struct timeval
> for computing mpi_request.TimeStamp, and instead uses ktime_t which provides
> 64-bit seconds value. The timestamp computed remains unaffected (milliseconds
> since Unix epoch).
> 
> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
> ---

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>

-- 
Johannes Thumshirn                                                                                Storage
jthumshirn@suse.de                                                             +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

_______________________________________________
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038

WARNING: multiple messages have this Message-ID (diff)
From: Johannes Thumshirn <jthumshirn@suse.de>
To: Tina Ruchandani <ruchandani.tina@gmail.com>
Cc: MPT-FusionLinux.pdl@broadcom.com, Arnd Bergmann <arnd@arndb.de>,
	y2038@lists.linaro.org, linux-scsi@vger.kernel.org,
	linux-kernel@vger.kernel.org, jejb@linux.vnet.ibm.com
Subject: Re: [PATCH] mpt3sas: Remove usage of 'struct timeval'
Date: Fri, 15 Apr 2016 09:16:18 +0200	[thread overview]
Message-ID: <1561298.UGYTUHuOD6@c203> (raw)
In-Reply-To: <20160413070140.GA35235@localhost>

On Mittwoch, 13. April 2016 00:01:40 CEST Tina Ruchandani wrote:
> 'struct timeval' will have its tv_sec value overflow on 32-bit systems
> in year 2038 and beyond. This patch replaces the use of struct timeval
> for computing mpi_request.TimeStamp, and instead uses ktime_t which provides
> 64-bit seconds value. The timestamp computed remains unaffected (milliseconds
> since Unix epoch).
> 
> Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
> ---

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>

-- 
Johannes Thumshirn                                                                                Storage
jthumshirn@suse.de                                                             +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

  parent reply	other threads:[~2016-04-15  7:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13  7:01 [PATCH] mpt3sas: Remove usage of 'struct timeval' Tina Ruchandani
2016-04-15  2:48 ` Martin K. Petersen
2016-04-15  2:48   ` Martin K. Petersen
2016-04-15 17:43   ` Sathya Prakash Veerichetty
2016-04-15  7:16 ` Johannes Thumshirn [this message]
2016-04-15  7:16   ` Johannes Thumshirn
2016-04-15 20:20 ` Martin K. Petersen
2016-04-15 20:20   ` Martin K. Petersen
  -- strict thread matches above, loose matches on Subject: below --
2015-02-04  4:45 Tina Ruchandani
2015-02-04 14:50 ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1561298.UGYTUHuOD6@c203 \
    --to=jthumshirn@suse.de \
    --cc=MPT-FusionLinux.pdl@broadcom.com \
    --cc=arnd@arndb.de \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ruchandani.tina@gmail.com \
    --cc=y2038@lists.linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.