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: <1259123443.29779.20.camel@Joe-Laptop.home>
Date:	Tue, 24 Nov 2009 20:30:43 -0800
From:	Joe Perches <joe@...ches.com>
To:	robert@...julf.net
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] igb and ixgbe: DOM support cleanups

On Tue, 2009-11-24 at 19:57 -0800, Joe Perches wrote:
> +	if (eo & DOM_EO_AW) {
> +		for (i = 0; i < ARRAY_SIZE(basic); i++) {
> +			res = read_phy_diag(hw, 0x1, aw[i].reg,
> +					    (u16 *)((char *)pd + aw[i].offset));
> +			if (res)
> +				goto out;
> +		}

[]

> +	if (eo & DOM_EO_AW) {
> +		for (i = 0; i < ARRAY_SIZE(basic); i++) {
> +			res = read_phy_diag(hw, 0x1, aw[i].reg,
> +					    (u16 *)((char *)pd + aw[i].offset));
> +			if (res)
> +				goto out;
> +		}
> +	}

Rotten patches.  These should be ARRAY_SIZE(aw).


--
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