From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751809AbbCVH3o (ORCPT ); Sun, 22 Mar 2015 03:29:44 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:38636 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751674AbbCVH3l (ORCPT ); Sun, 22 Mar 2015 03:29:41 -0400 Date: Sun, 22 Mar 2015 08:29:35 +0100 From: Richard Cochran To: Arnd Bergmann Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Amir Vadai , Ariel Elior , Baolin Wang , Ben Hutchings , Bruce Allan , Carolyn Wyborny , Chris Metcalf , David Miller , Frank Li , Giuseppe Cavallaro , Jeff Kirsher , John Stultz , Luwei Zhou , Matthew Vick , Michael Chan , Prashant Sreedharan , Shradha Shah , Solarflare linux maintainers , Sonic Zhang , Stefan =?iso-8859-1?Q?S=F8rensen?= , Thomas Gleixner , Tom Lendacky Subject: Re: [PATCH net-next V2 20/23] ptp: dp83640: convert to the 64 bit get/set time methods. Message-ID: <20150322072935.GB4254@localhost.localdomain> References: <55b6ec7c2e0c72a79762748981fad2ce2497f22d.1426973658.git.richardcochran@gmail.com> <201503220336.31836.arnd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201503220336.31836.arnd@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote: > On Saturday 21 March 2015, Richard Cochran wrote: > > mutex_lock(&clock->extreg_lock); > > > > - err = tdr_write(1, phydev, ts, PTP_LOAD_CLK); > > + err = tdr_write(1, phydev, &ts, PTP_LOAD_CLK); > > > > mutex_unlock(&clock->extreg_lock); > > I don't see the change to the tdr_write() function that changes the > argument from 'struct timespec ts' to 'struct timespec64 *', so this > looks wrong to me. There is a 'ts64' parameter, converted to 'ts' beforehand. Thanks, Richard From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: [PATCH net-next V2 20/23] ptp: dp83640: convert to the 64 bit get/set time methods. Date: Sun, 22 Mar 2015 08:29:35 +0100 Message-ID: <20150322072935.GB4254@localhost.localdomain> References: <55b6ec7c2e0c72a79762748981fad2ce2497f22d.1426973658.git.richardcochran@gmail.com> <201503220336.31836.arnd@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Amir Vadai , Ariel Elior , Baolin Wang , Ben Hutchings , Bruce Allan , Carolyn Wyborny , Chris Metcalf , David Miller , Frank Li , Giuseppe Cavallaro , Jeff Kirsher , John Stultz , Luwei Zhou , Matthew Vick , Michael Chan , Prashant Sreedharan , Shradha Shah , Solarflare linux maintainers , Sonic Zhang , Stefan =?iso-8859-1?Q?S=F8rensen?= Return-path: Content-Disposition: inline In-Reply-To: <201503220336.31836.arnd@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sun, Mar 22, 2015 at 03:36:31AM +0100, Arnd Bergmann wrote: > On Saturday 21 March 2015, Richard Cochran wrote: > > mutex_lock(&clock->extreg_lock); > > > > - err = tdr_write(1, phydev, ts, PTP_LOAD_CLK); > > + err = tdr_write(1, phydev, &ts, PTP_LOAD_CLK); > > > > mutex_unlock(&clock->extreg_lock); > > I don't see the change to the tdr_write() function that changes the > argument from 'struct timespec ts' to 'struct timespec64 *', so this > looks wrong to me. There is a 'ts64' parameter, converted to 'ts' beforehand. Thanks, Richard