Re: [PATCH] ntp: Allow TAI-UTC offset to be set to zero

From: Miroslav Lichvar
Date: Thu Apr 18 2019 - 04:07:24 EST


On Wed, Apr 17, 2019 at 11:00:23AM +0200, Ondrej Mosnacek wrote:
> On Wed, Apr 17, 2019 at 10:48 AM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> > Change the ADJ_TAI check to accept zero as a valid TAI-UTC offset in
> > order to allow setting it back to the initial value.

> Thanks for sending the patch! Maybe you (or the committer) could
> consider adding:
>
> Fixes: 153b5d054ac2 ("ntp: support for TAI")

To me the change looks more like an extension of the API, rather than
a bug fix, so I'd leave that up to the committer.

--
Miroslav Lichvar