bnx2x: Change bnx2x_tests_str_arr to static char
This patch changes the definition of bnx2x_tests_str_arr from char to static
char. This correction will also eliminate the sparse warning created in commit
cf2c1df62e
.
Signed-off-by: Merav Sicron <meravs@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
2e499d3cc1
Коммит
ebe6e21d23
|
@ -1600,7 +1600,7 @@ static int bnx2x_set_pauseparam(struct net_device *dev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
char *bnx2x_tests_str_arr[BNX2X_NUM_TESTS_SF] = {
|
||||
static char *bnx2x_tests_str_arr[BNX2X_NUM_TESTS_SF] = {
|
||||
"register_test (offline) ",
|
||||
"memory_test (offline) ",
|
||||
"int_loopback_test (offline)",
|
||||
|
|
Загрузка…
Ссылка в новой задаче