[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZRibmLHEBGUWfOZM@hoboy.vegasvil.org>
Date: Sat, 30 Sep 2023 15:05:12 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Xabier Marquiegui <reibax@...il.com>
Cc: netdev@...r.kernel.org, horms@...nel.org,
chrony-dev@...ony.tuxfamily.org, mlichvar@...hat.com,
ntp-lists@...tcorallo.com, vinicius.gomes@...el.com,
alex.maftei@....com, davem@...emloft.net, rrameshbabu@...dia.com,
shuah@...nel.org
Subject: Re: [PATCH net-next v3 2/3] ptp: support multiple timestamp event
readers
On Thu, Sep 28, 2023 at 03:35:43PM +0200, Xabier Marquiegui wrote:
> include/linux/posix-clock.h | 24 ++++---
> kernel/time/posix-clock.c | 43 +++++++++---
This change deserves its own patch. Please put that first in the
series. And be sure to CC tglx and John Stultz.
> diff --git a/include/linux/posix-clock.h b/include/linux/posix-clock.h
> index 468328b1e1dd..8f844ac28aa8 100644
> --- a/include/linux/posix-clock.h
> +++ b/include/linux/posix-clock.h
> @@ -14,6 +14,7 @@
> #include <linux/rwsem.h>
>
> struct posix_clock;
> +struct posix_clock_user;
No need for a forward declaration, since the struct is below.
Just put it here.
> @@ -90,6 +93,11 @@ struct posix_clock {
> bool zombie;
> };
>
> +struct posix_clock_user {
The idea is fine, but how about calling this "posix_clock_context"
instead?
> + struct posix_clock *clk;
> + void *private_clkdata;
> +};
Thanks,
Richard
Powered by blists - more mailing lists