Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 08:55:07 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r283202 - stable/10/sys/dev/sfxge
Message-ID:  <201505210855.t4L8t7hw061556@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Thu May 21 08:55:06 2015
New Revision: 283202
URL: https://svnweb.freebsd.org/changeset/base/283202

Log:
  MFC: r282897
  
  sfxge: add missing const qualifier to sfxge_link_mode
  
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/sfxge_port.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/sfxge_port.c
==============================================================================
--- stable/10/sys/dev/sfxge/sfxge_port.c	Thu May 21 08:38:25 2015	(r283201)
+++ stable/10/sys/dev/sfxge/sfxge_port.c	Thu May 21 08:55:06 2015	(r283202)
@@ -624,7 +624,7 @@ fail:
 	return (rc);
 }
 
-static int sfxge_link_mode[EFX_PHY_MEDIA_NTYPES][EFX_LINK_NMODES] = {
+static const int sfxge_link_mode[EFX_PHY_MEDIA_NTYPES][EFX_LINK_NMODES] = {
 	[EFX_PHY_MEDIA_CX4] = {
 		[EFX_LINK_10000FDX]	= IFM_ETHER | IFM_FDX | IFM_10G_CX4,
 	},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505210855.t4L8t7hw061556>