From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753565AbbI1UX0 (ORCPT ); Mon, 28 Sep 2015 16:23:26 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:61215 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753350AbbI1UXX (ORCPT ); Mon, 28 Sep 2015 16:23:23 -0400 From: Arnd Bergmann To: y2038@lists.linaro.org Cc: Thomas Gleixner , John Stultz , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Rodolfo Giometti , linux-net-drivers@solarflare.com, Shradha Shah , Richard Cochran , Arnd Bergmann Subject: [PATCH 0/5] y2038 conversion for ntp/pps and sfc driver Date: Mon, 28 Sep 2015 22:21:27 +0200 Message-Id: <1443471692-2946597-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.1.0.rc2 X-Provags-ID: V03:K0:VXLzda1/X0I0ZHgFekg40kQaucDiRqJcZJVrCHVMKmTa1nJ3EUw 7Ne0CRSihZ+CAnLFa5a3u+aLxiAnKqCqZ3p3zptsoM/xM9oLfiV+byC0124DzrhgmHI4CRB UGhnaaAEpCg8ta0wwK2TwWewPUccSPAmXmNb7aOhvcNyRUkRDdQocX7jI/cQcnyU8u/RCx+ Cg840sXoEn/21m0DUUBBQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:2iPzyXKh1As=:/NnKHuR86XJtbnOBkdSRf0 I+06pL7MR7EiI+/QqTMr1pfRf8SfSEjhzfZN7VvcTVrRTVidQWjYLL3m6Y7cu8qVjphDe9ajX 0OrVIitr4MAuxOXaIvq60XXJEUE7hBqng6m0XdycofR3kQLu98t9yI2ddroQQ57CS669R+UvG N9hwW+JXf8NkfvIus8YmtHSE6U4nzpJXW9bs7K40WwE7b2KB4C6Y3KJ4Z36rb1xIZFauwXRE5 OVYS+ObkJJVPcT1w5Zc+SDtOOaYVAJ/OqINpiHbgEmUpDxzE/KJkKTFFN/L6h5OTiYvPB4PPz /0SLmIfeJ9VnhXEl9NXftFj3YxLVTGKQww6xTLLfhLY2Fv6BwzBiTHEwne8BHWrw/bolCEptz F+K0IZWPzBe5fLBM29wDL6WjBYMZNgF8onWBiDaelOL6XagmvkNayqb0hX+xni/7UVYlo4POr mCTuWX2oVO9iVU3K4+LQoFdmzv00qyEj0kNmze3hxXu6liPAhgloYRpYc1RZFsaijrx1MKGMF 19aHcxDOwEb/XsxeO3+t/ozsGuIF4sg0cgMiUEGGA1selbNVCdFycIftaW4CTobiRsBlBhBcC a27faysHGHIrJn8O632l4i4rtYjlTX82/G20LUiKSQFlV62neXObhwtdzkYvBEn9RtvQT8iYW tyTcpuc5E6D3vRYCx1AVlGi34cH3kDmApx8oPULpALyHv/hMQkHmgv8eXnoTB/ur0nbw= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When trying to build a kernel with time_t commented out, I found that the ntp subsystem still relies on timespec for its pps handling. This series addresses this and converts all the code to use timespec64 instead, step by step. There is one device driver that interacts with this code directly (rather than only through the ptp subsystem), so I have to convert that driver at the same time. The patches should ideally stay together as a series, but they do span multiple subsystems, so I'm also looking for the right person to merge them. Please review. Thanks, Arnd Arnd Bergmann (5): ntp/pps: use timespec64 for hardpps() ntp/pps: replace getnstime_raw_and_real with 64-bit version ntp: use timespec64 in sync_cmos_clock ntp/pps: use y2038 safe types in pps_event_time net: sfc: avoid using timespec drivers/net/ethernet/sfc/ptp.c | 30 +++++++++++++++--------------- drivers/pps/kapi.c | 4 ++-- include/linux/pps_kernel.h | 16 ++++++++-------- include/linux/timekeeping.h | 4 ++-- include/linux/timex.h | 2 +- kernel/time/ntp.c | 16 ++++++++-------- kernel/time/ntp_internal.h | 2 +- kernel/time/timekeeping.c | 14 +++++++------- 8 files changed, 44 insertions(+), 44 deletions(-) -- 2.1.0.rc2