[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220324134337.GA27824@hoboy.vegasvil.org>
Date: Thu, 24 Mar 2022 06:43:37 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Gerhard Engleder <gerhard@...leder-embedded.com>
Cc: yangbo.lu@....com, davem@...emloft.net, kuba@...nel.org,
mlichvar@...hat.com, vinicius.gomes@...el.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v1 1/6] ptp: Add cycles support for virtual
clocks
On Tue, Mar 22, 2022 at 10:07:17PM +0100, Gerhard Engleder wrote:
> diff --git a/drivers/ptp/ptp_private.h b/drivers/ptp/ptp_private.h
> index dba6be477067..ae66376def84 100644
> --- a/drivers/ptp/ptp_private.h
> +++ b/drivers/ptp/ptp_private.h
> @@ -52,6 +52,7 @@ struct ptp_clock {
> int *vclock_index;
> struct mutex n_vclocks_mux; /* protect concurrent n_vclocks access */
> bool is_virtual_clock;
> + bool cycles;
Can we please have something more descriptive?
How about a predicate like is_xyz or has_xyz or xyz_available ?
Thanks,
Richard
> };
Powered by blists - more mailing lists