Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with ktime_t

From: Ksenija StanojeviÄ
Date: Mon Jun 08 2015 - 15:37:36 EST


Hi Greg,

It's been over two weeks that I've sent this patch. Have you missed it?

Thanks,
Ksenija

On Fri, May 22, 2015 at 9:52 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Friday 22 May 2015 17:58:42 Ksenija Stanojevic wrote:
>> 'struct timeval last_tv' is used to get the time of last signal change
>> and 'struct timeval last_intr_tv' is used to get the time of last UART
>> interrupt.
>> 32-bit systems using 'struct timeval' will break in the year 2038, so we
>> have to replace that code with more appropriate types.
>> Here struct timeval is replaced with ktime_t.
>>
>> Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@xxxxxxxxx>
>>
>
> Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/