svn commit: r283202 - stable/10/sys/dev/sfxge

Andrew Rybchenko arybchik at FreeBSD.org
Thu May 21 08:55:07 UTC 2015


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


More information about the svn-src-all mailing list