diff options
author | Merav Sicron <meravs@broadcom.com> | 2012-06-26 02:11:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-27 04:20:13 -0400 |
commit | ebe6e21d233bdc4f6ae5f5f649d13beb4ed7a763 (patch) | |
tree | fd6c9be18a8028a87feaaf44164e7f473ff16d81 | |
parent | 2e499d3cc13365a87815266dda59904dcb8c8d6c (diff) |
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
cf2c1df62e065bfc15e38daf2d3479a56b320f29.
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>
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index 1f8c1561cdec..bff31290198b 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | |||
@@ -1600,7 +1600,7 @@ static int bnx2x_set_pauseparam(struct net_device *dev, | |||
1600 | return 0; | 1600 | return 0; |
1601 | } | 1601 | } |
1602 | 1602 | ||
1603 | char *bnx2x_tests_str_arr[BNX2X_NUM_TESTS_SF] = { | 1603 | static char *bnx2x_tests_str_arr[BNX2X_NUM_TESTS_SF] = { |
1604 | "register_test (offline) ", | 1604 | "register_test (offline) ", |
1605 | "memory_test (offline) ", | 1605 | "memory_test (offline) ", |
1606 | "int_loopback_test (offline)", | 1606 | "int_loopback_test (offline)", |