sfxge(4): make strings array pointer itself immutable
Found by DPDK checkpatches.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
This commit is contained in:
parent
a260bd77cf
commit
09b3e655d5
@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#if EFSYS_OPT_NAMES
|
||||
|
||||
static const char *__efx_mon_name[] = {
|
||||
static const char * const __efx_mon_name[] = {
|
||||
"",
|
||||
"sfx90x0",
|
||||
"sfx91x0",
|
||||
|
@ -172,7 +172,7 @@ fail1:
|
||||
|
||||
#if EFSYS_OPT_NAMES
|
||||
|
||||
static const char *__efx_loopback_type_name[] = {
|
||||
static const char * const __efx_loopback_type_name[] = {
|
||||
"OFF",
|
||||
"DATA",
|
||||
"GMAC",
|
||||
|
Loading…
x
Reference in New Issue
Block a user