Re: [Linuxptp-devel] [PATCH 4/5] phc2sys: Better indicate domain with realtime clock.

2023-11-09 Thread Richard Cochran
On Thu, Oct 26, 2023 at 02:40:10PM +0200, Miroslav Lichvar wrote: > @@ -1010,7 +1010,7 @@ static int clock_handle_leap(struct domain *domain, > struct clock *clock, > struct pmc_agent *agent; > > /* The system clock's domain doesn't have a subscribed agent */ > - agent = domain-

[Linuxptp-devel] [PATCH 4/5] phc2sys: Better indicate domain with realtime clock.

2023-10-26 Thread Miroslav Lichvar
Add a new field to the domain struct to mark the domain which contains the system realtime clock instead of relying on the fact that the domain doesn't have a subscribed pmc agent. Signed-off-by: Miroslav Lichvar --- phc2sys.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff -