Arnd,
> The arcmsr uses its own implementation of time_to_tm(), along with
> do_gettimeofday() to read the current time. While the algoritm used
> here is fine in principle, it suffers from two problems:
Applied to 4.16/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
On Mon, 2018-01-22 at 00:12 +0100, Arnd Bergmann wrote:
> The arcmsr uses its own implementation of time_to_tm(), along with
> do_gettimeofday()
> to read the current time. While the algoritm used here is fine in principle,
> it
> suffers from two problems:
>
> - it assigns the seconds portion o
The arcmsr uses its own implementation of time_to_tm(), along with
do_gettimeofday()
to read the current time. While the algoritm used here is fine in principle, it
suffers from two problems:
- it assigns the seconds portion of the timeval to a 32-bit unsigned integer
that
overflows in 2106 ev
3 matches
Mail list logo