Re: [PATCH v3 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-08 Thread James Hogan
On Mon, May 07, 2018 at 05:28:27PM +0800, Baolin Wang wrote: > Since struct timespec is not y2038 safe on 32bit machines, this patch > converts read_persistent_clock() to read_persistent_clock64() using > struct timespec64, as well as converting mktime() to mktime64(). > > Signed-off-by: Baolin

Re: [PATCH v3 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-08 Thread James Hogan
On Mon, May 07, 2018 at 05:28:27PM +0800, Baolin Wang wrote: > Since struct timespec is not y2038 safe on 32bit machines, this patch > converts read_persistent_clock() to read_persistent_clock64() using > struct timespec64, as well as converting mktime() to mktime64(). > > Signed-off-by: Baolin

Re: [PATCH v3 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-07 Thread Arnd Bergmann
On Mon, May 7, 2018 at 5:28 AM, Baolin Wang wrote: > Since struct timespec is not y2038 safe on 32bit machines, this patch > converts read_persistent_clock() to read_persistent_clock64() using > struct timespec64, as well as converting mktime() to mktime64(). > >

Re: [PATCH v3 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-07 Thread Arnd Bergmann
On Mon, May 7, 2018 at 5:28 AM, Baolin Wang wrote: > Since struct timespec is not y2038 safe on 32bit machines, this patch > converts read_persistent_clock() to read_persistent_clock64() using > struct timespec64, as well as converting mktime() to mktime64(). > > Signed-off-by: Baolin Wang

[PATCH v3 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-07 Thread Baolin Wang
Since struct timespec is not y2038 safe on 32bit machines, this patch converts read_persistent_clock() to read_persistent_clock64() using struct timespec64, as well as converting mktime() to mktime64(). Signed-off-by: Baolin Wang --- Changes since v2; - No updates.

[PATCH v3 1/2] MIPS: Convert read_persistent_clock() to read_persistent_clock64()

2018-05-07 Thread Baolin Wang
Since struct timespec is not y2038 safe on 32bit machines, this patch converts read_persistent_clock() to read_persistent_clock64() using struct timespec64, as well as converting mktime() to mktime64(). Signed-off-by: Baolin Wang --- Changes since v2; - No updates. Changes since v1: - No