From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755331AbcA1Jr1 (ORCPT ); Thu, 28 Jan 2016 04:47:27 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35718 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755275AbcA1JrW (ORCPT ); Thu, 28 Jan 2016 04:47:22 -0500 Date: Thu, 28 Jan 2016 10:47:16 +0100 From: Richard Cochran To: Kefeng Wang Cc: "David S . Miller" , guohanjun@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec Message-ID: <20160128094716.GA3345@localhost.localdomain> References: <1453948039-3198-1-git-send-email-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1453948039-3198-1-git-send-email-wangkefeng.wang@huawei.com> 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 Thu, Jan 28, 2016 at 10:27:19AM +0800, Kefeng Wang wrote: > Convert the driver to use ns_to_timespec64() and timespec64_to_ns() > instead of open coding the same logic. > > Signed-off-by: Kefeng Wang > --- > drivers/ptp/ptp_ixp46x.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) Acked-by: Richard Cochran