lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ