Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756102AbbEEGhQ (ORCPT ); Tue, 5 May 2015 02:37:16 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:34943 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752258AbbEEGhN (ORCPT ); Tue, 5 May 2015 02:37:13 -0400 MIME-Version: 1.0 Date: Mon, 4 May 2015 23:37:13 -0700 Message-ID: Subject: Re: [PATCH] USB: usbmon: Use 64bit timestamp for mon_bin_hdr From: Tina Ruchandani To: Oliver Neukum Cc: Arnd Bergmann , Greg Kroah-Hartman , linux-usb , Linux Kernel List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 577 Lines: 15 > but the timestamp will also overflow. So what is the point? > The 32-bit timestamp obtained using do_gettimeofday() will overflow in year 2038. However, with 64-bit timestamps, we get practically infinite time. mon_bin_hdr already has support for a 64-bit seconds timestamp. This patch changes how it is populated. Thanks, Tina -- 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/