[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF2d9jgWb8-HqEBkN4qUCsUA9zGJo4q36L=8WqLYG0eHSiVpaw@mail.gmail.com>
Date: Wed, 17 Apr 2024 21:25:12 -0700
From: Mahesh Bandewar (महेश बंडेवार) <maheshb@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Netdev <netdev@...r.kernel.org>, Linux <linux-kernel@...r.kernel.org>,
David Miller <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Thomas Gleixner <tglx@...utronix.de>,
Richard Cochran <richardcochran@...il.com>, Arnd Bergmann <arnd@...db.de>,
Sagi Maimon <maimon.sagi@...il.com>, Jonathan Corbet <corbet@....net>, John Stultz <jstultz@...gle.com>,
Mahesh Bandewar <mahesh@...dewar.net>
Subject: Re: [PATCHv1 next] ptp: update gettimex64 to provide ts optionally in
mono-raw base.
On Wed, Apr 17, 2024 at 6:24 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Tue, 16 Apr 2024 14:59:42 -0700 Mahesh Bandewar wrote:
> > if (extoff->n_samples > PTP_MAX_SAMPLES
> > - || extoff->rsv[0] || extoff->rsv[1] || extoff->rsv[2]) {
> > + || extoff->rsv[0] || extoff->rsv[1]
> > + || (extoff->clockid != CLOCK_REALTIME
> > + && extoff->clockid != CLOCK_MONOTONIC_RAW)) {
>
> Since you're touching this condition it's probably a good opportunity
> to fox the coding style.
will do! I was just matching the existing style.
Powered by blists - more mailing lists