[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220313103356.2df9ac45@hermes.local>
Date: Sun, 13 Mar 2022 10:33:56 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Eli Cohen <elic@...dia.com>
Cc: <dsahern@...nel.org>, <netdev@...r.kernel.org>,
<virtualization@...ts.linux-foundation.org>, <jasowang@...hat.com>,
<si-wei.liu@...cle.com>, <mst@...hat.com>, <lulu@...hat.com>,
<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
Powered by blists - more mailing lists