svn commit: r322011 - stable/10/sys/dev/mlx5
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Aug 3 14:20:20 UTC 2017
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;
};
More information about the svn-src-stable-10
mailing list