Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758073AbcCUVgT (ORCPT ); Mon, 21 Mar 2016 17:36:19 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:62160 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbcCUVgQ (ORCPT ); Mon, 21 Mar 2016 17:36:16 -0400 From: Arnd Bergmann To: Stefan Richter Cc: Tina Ruchandani , y2038@lists.linaro.org, linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firewire: nosy: Replace timeval with timespec64 Date: Mon, 21 Mar 2016 22:36 +0100 Message-ID: <3575481.G5vcZLmfxK@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160321211917.198f4f03@kant> References: <20160321055911.GA98166@localhost> <3432361.tg4OvfJSmN@wuerfel> <20160321211917.198f4f03@kant> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:JQkJkoga8PaTJO0I/G3AC0ODq5PTPvfoUfi2t46HUstxm9L5A9l 5Q8u9ohWP/wddFPdOxIe7tD+DrH8h6Fg/CFi/djOVXReRjM+m81AX3X8v/xMq27qOdlc13s sEL1QyYVZHs2cFsMO5c7iwMul/RQVw4hBo43nLNflS8GMwWwxzRjoNDrsLuuASYrRQ5hXba /GHMAy80bsV9RflFodS6Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:pGn6YBB15ZM=:68Z0XgzYZuIFu93uuebeao Gx0FRDprlGXI7KDzmRz1TEcSFjTGWTs+f6DnPyHh5nBODHqJF4Eq6SZXZidRz8r3bmszLA1F0 qx2NRVp3yFt+uRc8VfSkqEDkiD2k34U4OYCeUFxuvv6HIOYQ/LKmWiyy7C34/8VvaWOH2x9K4 qcfL3LB3Jobq//rDd/7P7gVJ7afu3AzquG6awCzYJ3h08gP07U7nNPld5gvK6iQ9BNm3+xH5c LqRyWi9XfIlOFYJyui1JZ/vPn+TKa6iZfVxkOjoHP3tq4Gqd3GILN/ITFzaa+W0s7SJ/D1paH uNCv48ZO/U4PAZLBzfTuL+fzmysp+dZ9oX8jqBgFQDKuPbZZRc/mFBT2xaaOY0R1hUFi8UzKv y8QhS9J84i6YmMg77SHMEK2/kKuSxYL5nTWqsq/8TBQB7ANOv2l87PKWQRHtgsMFWPmmgis5x dJjzZOCpvHf/RkhOWsBcB9a4V3E86bm+eWJaH9DlFSK/nYPhMrLFrD0NvbvXtJvVGy4jnyzmE ADGYSepRycyjqvaLzZNDSJCDJJl+GX3Dg+QO0omwOja8Wvh2LmlDXjKdUFHPdWducoeWb4YYc e39g1Vmtn35lJqpKRJFaRXIGy08UKTXZtRBxj13863+IMuh/zVYZUh5CTSCsdqbmyfExrzMln Lm1YeyrdpjxU6/F9yzagqKrN24vP98B/fBwv8HUFYUOv95ybzSFnSub6XSnrBUWgc9YxdfEJK lDyGGOVqmHnHNWKj Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1401 Lines: 32 On Monday 21 March 2016 21:19:17 Stefan Richter wrote: > On Mar 21 Arnd Bergmann wrote: > > On Sunday 20 March 2016 22:59:11 Tina Ruchandani wrote: > > > 'struct timeval' uses a 32 bit field for its 'seconds' value which > > > will overflow in year 2038 and beyond. This patch replaces the use > > > of timeval in nosy.c with timespec64 which doesn't suffer from y2038 > > > issue. The code is correct as is - since it is only using the > > > microseconds portion of timeval. However, this patch does the > > > replacement as part of a larger effort to remove all instances of > > > 'struct timeval' from the kernel (that would help identify cases > > > where the code is actually broken). > > > > > > Signed-off-by: Tina Ruchandani > > > --- > > > drivers/firewire/nosy.c | 8 +++++--- > > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > The patch looks correct to me, but it seems the same one has > > just been merged into mainline Linux on Saturday (the patch > > was posted back in October). > > > > commit 2ae4b6b20e2004dccf80d804ae52b073377c2f5b > [...] > > No, Amitoj's patch from October changed nosy.c::packet_irq_hander, whereas > Tina' patch changes nosy.c::bus_reset_irq_handler. IOW the new patch > completes what the former patch (and us reviewers) missed. > Ah, I see. Sorry for my confusion. Reviewed-by: Arnd Bergmann