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: <20151018221756.37849ea3@xeon-e3>
Date:	Sun, 18 Oct 2015 22:17:56 -0700
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	Michael Chan <mchan@...adcom.com>
Cc:	<davem@...emloft.net>, <prashant@...adcom.com>,
	<eddie.wai@...adcom.com>, <huangjw@...adcom.com>,
	<netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v3] bnxt_en: New Broadcom ethernet driver.

On Sat, 17 Oct 2015 00:21:44 -0400
Michael Chan <mchan@...adcom.com> wrote:

> +/* indexed by enum above */
> +static struct {
> +	char *name;
> +} board_info[] = {
> +	{ "Broadcom BCM57302 NetXtreme-C Single-port 10Gb/25Gb/40Gb/50Gb Ethernet" },
> +	{ "Broadcom BCM57304 NetXtreme-C Dual-port 10Gb/25Gb/40Gb/50Gb Ethernet" },
> +	{ "Broadcom BCM57404 NetXtreme-E Dual-port 10Gb/25Gb Ethernet" },
> +	{ "Broadcom BCM57406 NetXtreme-E Dual-port 10Gb Ethernet" },
> +	{ "Broadcom BCM57304 NetXtreme-C Ethernet Virtual Function" },
> +	{ "Broadcom BCM57404 NetXtreme-E Ethernet Virtual Function" },
> +};

Tables like this should be declared const.
--
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