Date: Thu, 14 May 2015 12:59:17 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282897 - head/sys/dev/sfxge Message-ID: <201505141259.t4ECxHTR011276@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Thu May 14 12:59:17 2015 New Revision: 282897 URL: https://svnweb.freebsd.org/changeset/base/282897 Log: sfxge: add missing const qualifier to sfxge_link_mode Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/sfxge_port.c Modified: head/sys/dev/sfxge/sfxge_port.c ============================================================================== --- head/sys/dev/sfxge/sfxge_port.c Thu May 14 12:43:39 2015 (r282896) +++ head/sys/dev/sfxge/sfxge_port.c Thu May 14 12:59:17 2015 (r282897) @@ -686,7 +686,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?201505141259.t4ECxHTR011276>