# Re: \[PATCH\] fbdev: radeon: Remove 'struct timeval' usage

- From: Tomi Valkeinen \<hidden\>
- Date: 2015-08-20 07:51:41 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2015/08/4560880
- Thread: https://ratatoskr.run/linux-fbdev/2015/05/4501339/t.md

```text
Hi Tina,

On 25/05/15 07:07, Tina Ruchandani wrote:
> 'struct timeval' uses a 32-bit representation for the
> seconds field which will overflow in the year 2038 and beyond.
> This patch replaces the usage of 'struct timeval' with
> ktime_t which uses a 64-bit time representation and does not
> suffer from the y2038 problem. This patch is part of a larger
> effort to remove all instances of 'struct timeval', 'struct
> timespec', time_t and other 32-bit timekeeping variables
> from the kernel.
> The patch also replaces the use of real time (do_gettimeofday)
> with monotonic time (ktime_get).
> 
> Signed-off-by: Tina Ruchandani <redacted>

I had dropped this from 4.2 as there were issues reported, but forgot to
write a mail about it...

Can you send a updated patch with the issues fixed?

 Tomi

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2015/08/4560880/attachment/0) (application/pgp-signature, 819 bytes)
