Commit 42c8b11e authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

benet: Add missing comma between constant string array

Multiple quoted strings are concatenated without comma separators.

Make the arrays const while there.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a48332f8
...@@ -44,7 +44,7 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = { ...@@ -44,7 +44,7 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = {
}; };
MODULE_DEVICE_TABLE(pci, be_dev_ids); MODULE_DEVICE_TABLE(pci, be_dev_ids);
/* UE Status Low CSR */ /* UE Status Low CSR */
static char *ue_status_low_desc[] = { static const char * const ue_status_low_desc[] = {
"CEV", "CEV",
"CTX", "CTX",
"DBUF", "DBUF",
...@@ -79,7 +79,7 @@ static char *ue_status_low_desc[] = { ...@@ -79,7 +79,7 @@ static char *ue_status_low_desc[] = {
"MPU_INTPEND" "MPU_INTPEND"
}; };
/* UE Status High CSR */ /* UE Status High CSR */
static char *ue_status_hi_desc[] = { static const char * const ue_status_hi_desc[] = {
"LPCMEMHOST", "LPCMEMHOST",
"MGMT_MAC", "MGMT_MAC",
"PCS0ONLINE", "PCS0ONLINE",
...@@ -103,7 +103,7 @@ static char *ue_status_hi_desc[] = { ...@@ -103,7 +103,7 @@ static char *ue_status_hi_desc[] = {
"HOST7", "HOST7",
"HOST8", "HOST8",
"HOST9", "HOST9",
"NETC" "NETC",
"Unknown", "Unknown",
"Unknown", "Unknown",
"Unknown", "Unknown",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment