On Wed, Nov 11, 2015 at 1:22 AM, Arnd Bergmann wrote:
> On Tuesday 10 November 2015 22:21:50 Amitoj Kaur Chawla wrote:
>> On Tue, Nov 10, 2015 at 10:01 PM, Arnd Bergmann wrote:
>> > On Tuesday 10 November 2015 19:27:49 Amitoj Kaur Chawla wrote:
>> >> After looking
On Thursday 12 November 2015 14:12:52 Amitoj Kaur Chawla wrote:
> On Wed, Nov 11, 2015 at 1:22 AM, Arnd Bergmann wrote:
> > On Tuesday 10 November 2015 22:21:50 Amitoj Kaur Chawla wrote:
> >> On Tue, Nov 10, 2015 at 10:01 PM, Arnd Bergmann wrote:
> >> > You could
On Wednesday 11 November 2015 19:23:33 Deepa Dinamani wrote:
> get_seconds() API is not y2038 safe on 32 bit systems and the API
> is deprecated. Replace it with calls to ktime_get_real_seconds()
> API instead. Change mddev structure types to time64_t accordingly.
>
> 32 bit signed timestamps
On Thu, Nov 12, 2015 at 1:56 PM, Arnd Bergmann wrote:
> On Wednesday 11 November 2015 19:23:33 Deepa Dinamani wrote:
> > get_seconds() API is not y2038 safe on 32 bit systems and the API
> > is deprecated. Replace it with calls to ktime_get_real_seconds()
> > API instead. Change
On Thursday 12 November 2015 17:52:51 Amitoj Kaur Chawla wrote:
> On Thu, Nov 12, 2015 at 2:55 PM, Arnd Bergmann wrote:
> > On Thursday 12 November 2015 14:12:52 Amitoj Kaur Chawla wrote:
> >> I don't get a build error when I remove the time_t cast. Where am I going
> >> wrong?
>
32 bit systems using 'struct timeval' will break in the year 2038, so
we modify the code appropriately.
This patch replaces the use of struct timeval and do_gettimeofday()
with ktime_get_real_seconds() which returns a 64 bit value which is
safer than struct timeval.
This patch replaces u32 time
The affs code uses "time_t" and "get_seconds()". This will cause
problems on 32-bit architectures in 2038 when time_t overflows.
This patch replaces them with "time64_t" and
"ktime_get_real_seconds()". This patch introduces expensive 64-bit
divsion in "secs_to_datestamp()", considering this
The bfin-uart code uses real time with struct timeval. This will
cause problems on 32-bit architectures in 2038 when time_t
overflows.
Since the code just needs delta value of time, it is not
necessary to record them in real time.
This patch changes the code to use the monotonic time instead,
On Thursday 12 November 2015 21:45:47 DengChao wrote:
> The bfin-uart code uses real time with struct timeval. This will
> cause problems on 32-bit architectures in 2038 when time_t
> overflows.
> Since the code just needs delta value of time, it is not
> necessary to record them in real time.
>
On Thu, Nov 12, 2015 at 6:37 PM, Arnd Bergmann wrote:
> On Thursday 12 November 2015 17:52:51 Amitoj Kaur Chawla wrote:
>> On Thu, Nov 12, 2015 at 2:55 PM, Arnd Bergmann wrote:
>> > On Thursday 12 November 2015 14:12:52 Amitoj Kaur Chawla wrote:
>> >> I don't get a
The hpfs code uses time_t which will overflow at 2038.
If time_t is only internal used without being stored on disk, simply
replacing it with time64_t is fine. Otherwise, since the range of
time has been already lost when it is stored on disk, the only thing
we can do is a cast between 32-bit
32 bit systems using 'time_t' will break in the year 2038, so
we modify the code appropriately.
This patch removes the cast to 'time_t' in the assignment statement
since we are eventually removing the time_t definition from the kernel
as an effort to solve the y2038 problem.
This change impacts
On Thursday 12 November 2015 21:40:41 DengChao wrote:
> The affs code uses "time_t" and "get_seconds()". This will cause
> problems on 32-bit architectures in 2038 when time_t overflows.
> This patch replaces them with "time64_t" and
> "ktime_get_real_seconds()". This patch introduces expensive
On Thursday 12 November 2015 21:26:03 DengChao wrote:
> /*
> + * Since time32_t is stored into media, the range has been already lost
> + * for time64_t anyway. Only thing we can do is directly cast between
> + * time32_t and time64_t. Forunately, time32_t won't overflow until 2106.
> + */
> +
>
Hi Arnd,
I'm looking for more y2038 tasks...please ;)
How are you doling out y2038 tasks presently?
(I'm not clear what's left undone, if any, from the outreachy queue)
Thanks,
Alison
___
Y2038 mailing list
Y2038@lists.linaro.org
15 matches
Mail list logo