From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from www.llwyncelyn.cymru ([82.70.14.225]:51166 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752609AbdK0TIP (ORCPT ); Mon, 27 Nov 2017 14:08:15 -0500 Date: Mon, 27 Nov 2017 19:07:58 +0000 From: Alan Cox To: Arnd Bergmann Cc: Alan Cox , Sakari Ailus , Mauro Carvalho Chehab , y2038@lists.linaro.org, Andy Shevchenko , linux-media@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH v2] [media] staging: atomisp: convert timestamps to ktime_t Message-ID: <20171127190758.293f11ad@alans-desktop> In-Reply-To: <20171127152256.2184193-1-arnd@arndb.de> References: <20171127152256.2184193-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On Mon, 27 Nov 2017 16:21:41 +0100 Arnd Bergmann wrote: > timespec overflows in 2038 on 32-bit architectures, and the > getnstimeofday() suffers from possible time jumps, so the > timestamps here are better done using ktime_get(), which has > neither of those problems. > > In case of ov2680, we don't seem to use the timestamp at > all, so I just remove it. > > Signed-off-by: Arnd Bergmann Reviewed-by: Alan Cox