svn commit: r322010 - stable/11/sys/dev/mlx5
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Aug 3 14:19:28 UTC 2017
Author: hselasky
Date: Thu Aug 3 14:19:26 2017
New Revision: 322010
URL: https://svnweb.freebsd.org/changeset/base/322010
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/11/sys/dev/mlx5/diagnostics.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/mlx5/diagnostics.h
==============================================================================
--- stable/11/sys/dev/mlx5/diagnostics.h Thu Aug 3 14:17:25 2017 (r322009)
+++ stable/11/sys/dev/mlx5/diagnostics.h Thu Aug 3 14:19:26 2017 (r322010)
@@ -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
mailing list