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] [day] [month] [year] [list]
Message-ID: <20201107154212.71db8d96@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date:   Sat, 7 Nov 2020 15:42:12 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     xiakaixu1987@...il.com
Cc:     irusskikh@...vell.com, andrew@...n.ch, davem@...emloft.net,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        Kaixu Xia <kaixuxia@...cent.com>
Subject: Re: [PATCH] net: atlantic: Remove unnecessary conversion to bool

On Fri,  6 Nov 2020 10:57:59 +0800 xiakaixu1987@...il.com wrote:
> -	cfg->is_qos = (tcs != 0 ? true : false);
> +	cfg->is_qos = (tcs != 0);

!!tcs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ