[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210422092634.18f23f8c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 22 Apr 2021 09:26:34 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Ido Schimmel <idosch@...sch.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, mlxsw@...dia.com,
Ido Schimmel <idosch@...dia.com>
Subject: Re: [PATCH net-next] netdevsim: Only use sampling truncation length
when valid
On Thu, 22 Apr 2021 19:21:37 +0300 Ido Schimmel wrote:
> > > + md->trunc_size = psample->trunc_size ? psample->trunc_size : len;
> >
> > nit: ... = psample->trunc_size ? : len; ?
>
> Yea, I don't find this form too readable and always prefer the one I
> used when it fits in a single line :)
Fair enough.
Powered by blists - more mailing lists