Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2017 14:20:19 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@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: r322011 - stable/10/sys/dev/mlx5
Message-ID:  <201708031420.v73EKJIV059438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Aug  3 14:20:19 2017
New Revision: 322011
URL: https://svnweb.freebsd.org/changeset/base/322011

Log:
  MFC r312983:
  Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry
  structure. This fixes compilation with amd64-xtoolchain-gcc.
  
  PR:			216588
  Sponsored by:		Mellanox Technologies

Modified:
  stable/10/sys/dev/mlx5/diagnostics.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/mlx5/diagnostics.h
==============================================================================
--- stable/10/sys/dev/mlx5/diagnostics.h	Thu Aug  3 14:19:26 2017	(r322010)
+++ stable/10/sys/dev/mlx5/diagnostics.h	Thu Aug  3 14:20:19 2017	(r322011)
@@ -33,7 +33,7 @@
 #define	MLX5_CORE_DIAGNOSTICS_ENTRY(n, s, t) { #s, (t) },
 
 struct mlx5_core_diagnostics_entry {
-	const char *const desc;
+	const char *desc;
 	u16	counter_id;
 };
 



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