diff options
author | Merav Sicron <meravs@broadcom.com> | 2012-06-26 08:11:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-27 10:20:13 +0200 |
commit | ebe6e21d233bdc4f6ae5f5f649d13beb4ed7a763 (patch) | |
tree | fd6c9be18a8028a87feaaf44164e7f473ff16d81 /drivers/net/ethernet/broadcom/bnx2x | |
parent | bnx2x, bnx2fc, bnx2i, cnic: Add statistics support and FCoE capabilities adve... (diff) | |
download | linux-ebe6e21d233bdc4f6ae5f5f649d13beb4ed7a763.tar.xz linux-ebe6e21d233bdc4f6ae5f5f649d13beb4ed7a763.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x')
-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, 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)", |