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]
Message-Id: <20111127.170243.558330614942737386.davem@davemloft.net>
Date:	Sun, 27 Nov 2011 17:02:43 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	yanivr@...adcom.com
Cc:	netdev@...r.kernel.org, eilong@...adcom.com
Subject: Re: [net-next 2/8] bnx2x: ETS changes

From: "Yaniv Rosner" <yanivr@...adcom.com>
Date: Sun, 27 Nov 2011 20:17:55 +0200

> +			is_bw_cos_exist = 1;
> +			if (0 == ets_params->cos[cos_idx].params.bw_params.bw) {

These "0 == X" expressions are not what people commonly use
and therefore hard for others to read.  Either use
"X == 0" or "!X" which is much much more preferred.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ