Re: [PATCH 10/12] net: sctp: avoid incorrect time_t use

2015-09-30 Thread Marcelo Ricardo Leitner
On Wed, Sep 30, 2015 at 01:26:40PM +0200, Arnd Bergmann wrote: > We want to avoid using time_t in the kernel because of the y2038 > overflow problem. The use in sctp is not for storing seconds at > all, but instead uses microseconds and is passed as 32-bit > on all machines. > > This patch changes

Re: [PATCH 10/12] net: sctp: avoid incorrect time_t use

2015-09-30 Thread Neil Horman
On Wed, Sep 30, 2015 at 11:15:20AM -0300, Marcelo Ricardo Leitner wrote: > On Wed, Sep 30, 2015 at 09:57:31AM -0400, Neil Horman wrote: > > On Wed, Sep 30, 2015 at 01:26:40PM +0200, Arnd Bergmann wrote: > > > We want to avoid using time_t in the kernel because of the y2038 > > > overflow problem. T

Re: [PATCH 10/12] net: sctp: avoid incorrect time_t use

2015-09-30 Thread Marcelo Ricardo Leitner
On Wed, Sep 30, 2015 at 09:57:31AM -0400, Neil Horman wrote: > On Wed, Sep 30, 2015 at 01:26:40PM +0200, Arnd Bergmann wrote: > > We want to avoid using time_t in the kernel because of the y2038 > > overflow problem. The use in sctp is not for storing seconds at > > all, but instead uses microsecon

Re: [PATCH 10/12] net: sctp: avoid incorrect time_t use

2015-09-30 Thread Neil Horman
On Wed, Sep 30, 2015 at 01:26:40PM +0200, Arnd Bergmann wrote: > We want to avoid using time_t in the kernel because of the y2038 > overflow problem. The use in sctp is not for storing seconds at > all, but instead uses microseconds and is passed as 32-bit > on all machines. > > This patch changes

[PATCH 10/12] net: sctp: avoid incorrect time_t use

2015-09-30 Thread Arnd Bergmann
We want to avoid using time_t in the kernel because of the y2038 overflow problem. The use in sctp is not for storing seconds at all, but instead uses microseconds and is passed as 32-bit on all machines. This patch changes the type to u32, which better fits the use. Signed-off-by: Arnd Bergmann