diff options
author | Merav Sicron <meravs@broadcom.com> | 2012-06-26 06:11:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-27 08:20:13 (GMT) |
commit | ebe6e21d233bdc4f6ae5f5f649d13beb4ed7a763 (patch) | |
tree | fd6c9be18a8028a87feaaf44164e7f473ff16d81 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | |
parent | 2e499d3cc13365a87815266dda59904dcb8c8d6c (diff) | |
download | linux-fsl-qoriq-ebe6e21d233bdc4f6ae5f5f649d13beb4ed7a763.tar.xz |
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/bnx2x_ethtool.c')
-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 1f8c156..bff3129 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)", |