Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1160735

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

From Ksenija Stanojević <ksenija.stanojevic@gmail.com>
Newsgroups linux.kernel
Subject Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with ktime_t
Date 2015-06-08 21:40 +0200
Message-ID <pzb3Q-8tx-17@gated-at.bofh.it> (permalink)
References <psXwE-2ui-43@gated-at.bofh.it> <pt1gR-813-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@arndb.de> 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@gmail.com>
>>
>
> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with ktime_t Ksenija Stanojević <ksenija.stanojevic@gmail.com> - 2015-06-08 21:40 +0200
  Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with  ktime_t Greg KH <gregkh@linuxfoundation.org> - 2015-06-08 22:20 +0200

csiph-web