From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756848AbbJATIQ (ORCPT ); Thu, 1 Oct 2015 15:08:16 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33337 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753515AbbJATIO (ORCPT ); Thu, 1 Oct 2015 15:08:14 -0400 Date: Thu, 1 Oct 2015 21:08:08 +0200 From: Richard Cochran To: Arnd Bergmann Cc: netdev@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, "David S. Miller" , Fugang Duan , Luwei Zhou , Frank Li Subject: Re: [PATCH 01/12] net: fec: avoid timespec use Message-ID: <20151001190807.GA1872@localhost.localdomain> References: <1443612402-3000775-1-git-send-email-arnd@arndb.de> <1443612402-3000775-2-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443612402-3000775-2-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 30, 2015 at 01:26:31PM +0200, Arnd Bergmann wrote: > The fec_ptp_enable_pps uses an open-coded implementation of ns_to_timespec, > which will be removed eventually as it is not y2038-safe on 32-bit > architectures. Two more instances of the same code in this file were > already converted to use the safe ns_to_timespec64 in commit 6630514fcee > ("ptp: fec: use helpers for converting ns to timespec"), this changes > the last one as well. > > The seconds portion here is actually unused and we could just remove the > timespec variable, but using ns_to_timespec64 can still be better as the > implementation can be hand-optimized in the future. > > Signed-off-by: Arnd Bergmann Acked-by: Richard Cochran