Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320482

Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec

From Richard Cochran <richardcochran@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec
Date 2016-01-28 10:50 +0100
Message-ID <qVRnd-1sZ-29@gated-at.bofh.it> (permalink)
References <qVKvo-4Ms-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <wangkefeng.wang@huawei.com>
> ---
>  drivers/ptp/ptp_ixp46x.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)

Acked-by: Richard Cochran <richardcochran@gmail.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ptp: ixp46x: use helpers for converting ns to timespec Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-01-28 03:30 +0100
  Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec Richard Cochran <richardcochran@gmail.com> - 2016-01-28 10:50 +0100
  Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec David Miller <davem@davemloft.net> - 2016-01-29 21:40 +0100

csiph-web