mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
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: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
da19fcd0d8
commit
4a95b6d0a7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
/* DCBx version control
|
||||
*/
|
||||
char *dcb_ver_array[] = {
|
||||
static const char * const dcb_ver_array[] = {
|
||||
"Unknown",
|
||||
"DCBx-CIN",
|
||||
"DCBx-CEE 1.01",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue