Commit 4a95b6d0 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by David S. Miller

chelsio: cxgb4: fix sparse warning

this patch fixes following sparse warning:

cxgb4_dcb.c:25:6: warning: symbol 'dcb_ver_array' was not declared. Should it be static?

Alongside making it const.
Signed-off-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent da19fcd0
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
/* DCBx version control /* DCBx version control
*/ */
char *dcb_ver_array[] = { static const char * const dcb_ver_array[] = {
"Unknown", "Unknown",
"DCBx-CIN", "DCBx-CIN",
"DCBx-CEE 1.01", "DCBx-CEE 1.01",
......
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