[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151101.170138.358342779450639583.davem@davemloft.net>
Date: Sun, 01 Nov 2015 17:01:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ruchandani.tina@...il.com
Cc: dccp@...r.kernel.org, arnd@...db.de, y2038@...ts.linaro.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [DCCP]: Use 64-bit timekeeping
From: Tina Ruchandani <ruchandani.tina@...il.com>
Date: Fri, 30 Oct 2015 01:24:56 -0700
> This patch changes the use of struct timespec in
> dccp_probe to use struct timespec64 instead. timespec uses a 32-bit
> seconds field which will overflow in the year 2038 and beyond. timespec64
> uses a 64-bit seconds field. Note that the correctness of the code isn't
> changed, since the original code only uses the timestamps to compute a
> small elapsed interval. This patch is part of a larger attempt to remove
> instances of 32-bit timekeeping structures (timespec, timeval, time_t)
> from the kernel so it is easier to identify where the real 2038 issues
> are.
>
> Signed-off-by: Tina Ruchandani <ruchandani.tina@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists