lkml.org 
[lkml]   [2024]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@kernel.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.

\
 
 \ /
  Last update: 2024-04-18 06:25    [W:0.089 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site