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: <1428508651.25985.221.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Wed, 08 Apr 2015 08:57:31 -0700
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Amir Vadai <amirv@...lanox.com>
Cc:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
	Yevgeny Petrilin <yevgenyp@...lanox.com>,
	Saeed Mahameed <saeedm@...lanox.com>,
	Or Gerlitz <ogerlitz@...lanox.com>,
	Achiad Shochat <achiad@...lanox.com>,
	Ido Shamay <idos@...lanox.com>
Subject: Re: [PATCH net-next 11/11] net/mlx5: Ethernet driver

On Wed, 2015-04-08 at 17:51 +0300, Amir Vadai wrote:

> +
> +static u32 ptys2ethtool_supported_link(u32 eth_proto_cap)
> +{
> +	int i;
> +	u32 supoprted_modes = 0;
> +
> +	for (i = 0; i < MLX5E_LINK_MODES_NUMBER; ++i) {
> +		if (eth_proto_cap & MLX5E_PROT_MASK(i))
> +			supoprted_modes |= ptys2ethtool_table[i].supported;
> +	}
> +	return supoprted_modes;
> +}

Small nit 
typo :  -> supported_modes 


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