Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry

structure. This fixes compilation with amd64-xtoolchain-gcc.

PR:			216588
MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-01-30 08:35:15 +00:00
parent 3df96ee68e
commit eac79e7755
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312983

View File

@ -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;
};