[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180621.150140.1170551679722502944.davem@davemloft.net>
Date: Thu, 21 Jun 2018 15:01:40 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: harini.katakam@...inx.com
Cc: nicolas.ferre@...rochip.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, michal.simek@...inx.com,
harinikatakamlinux@...il.com
Subject: Re: [PATCH] net: macb: Fix ptp time adjustment for large negative
delta
From: Harini Katakam <harini.katakam@...inx.com>
Date: Wed, 20 Jun 2018 17:04:20 +0530
> When delta passed to gem_ptp_adjtime is negative, the sign is
> maintained in the ns_to_timespec64 conversion. Hence timespec_add
> should be used directly. timespec_sub will just subtract the negative
> value thus increasing the time difference.
>
> Signed-off-by: Harini Katakam <harini.katakam@...inx.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists