[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM8PR12MB540017F40D7FB0DA12F7AB8DAB0E9@DM8PR12MB5400.namprd12.prod.outlook.com>
Date: Sun, 13 Mar 2022 18:04:18 +0000
From: Eli Cohen <elic@...dia.com>
To: Stephen Hemminger <stephen@...workplumber.org>
CC: "dsahern@...nel.org" <dsahern@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"virtualization@...ts.linux-foundation.org"
<virtualization@...ts.linux-foundation.org>,
"jasowang@...hat.com" <jasowang@...hat.com>,
"si-wei.liu@...cle.com" <si-wei.liu@...cle.com>,
"mst@...hat.com" <mst@...hat.com>,
"lulu@...hat.com" <lulu@...hat.com>,
Parav Pandit <parav@...dia.com>
Subject: RE: [PATCH v7 2/4] vdpa: Allow for printing negotiated features of a
device
>
> On Sun, 13 Mar 2022 19:12:17 +0200
> Eli Cohen <elic@...dia.com> wrote:
>
> > + if (feature_strs)
> > + s = feature_strs[i];
> > + else
> > + s = NULL;
>
> You really don't like trigraphs?
> s = feature_strs ? feature_strs[i] : NULL;
> is more compact
If you insist I will send another version.
Let me know.
Powered by blists - more mailing lists