Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757431AbbEVTwZ (ORCPT ); Fri, 22 May 2015 15:52:25 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:54085 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756792AbbEVTwU (ORCPT ); Fri, 22 May 2015 15:52:20 -0400 From: Arnd Bergmann To: y2038@lists.linaro.org Cc: Ksenija Stanojevic , gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, mchehab@osg.samsung.com, jarod@wilsonet.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [Y2038] [PATCH] Staging: media: lirc: Replace timeval with ktime_t Date: Fri, 22 May 2015 21:52:04 +0200 Message-ID: <3768175.5Bdztn7jIp@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1432310322-3745-1-git-send-email-ksenija.stanojevic@gmail.com> References: <1432310322-3745-1-git-send-email-ksenija.stanojevic@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:qFZpcf+cvFQsT3iKBo/qeu8CZzpFDEropMI8Upx388T46fHK5w2 LQMnuqVHWY56rqt3X6hI4WQiZGVBLxYKv0SxGK70stBvD3SLzMh3LYAN5V2MS38FXjOaxkg z4tnjZQW82Y/YMg4iX9IFZW3MMFN0IOZw0t45TwgvicwE9zfVBezkME9GjoRWeKucp6Lpgv mosHn0tjysNv9+4g0om9g== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 17 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 > Reviewed-by: Arnd Bergmann -- 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/