Re: [PATCH] ptp_pch: use helpers function for converting between ns and timespec

2018-04-27 Thread David Miller
From: YueHaibing Date: Fri, 27 Apr 2018 15:36:18 +0800 > use ns_to_timespec64() and timespec64_to_ns() instead of open coding > > Signed-off-by: YueHaibing Applied to net-next, thanks.

Re: [PATCH] ptp_pch: use helpers function for converting between ns and timespec

2018-04-27 Thread Richard Cochran
On Fri, Apr 27, 2018 at 03:36:18PM +0800, YueHaibing wrote: > use ns_to_timespec64() and timespec64_to_ns() instead of open coding Acked-by: Richard Cochran

[PATCH] ptp_pch: use helpers function for converting between ns and timespec

2018-04-27 Thread YueHaibing
use ns_to_timespec64() and timespec64_to_ns() instead of open coding Signed-off-by: YueHaibing --- drivers/ptp/ptp_pch.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index b328517..78ccf93 100644