net: fix mistake path for netdev_features_strings

[ Upstream commit 2d8ea148e553e1dd4e80a87741abdfb229e2b323 ]

Th_strings arrays netdev_features_strings, tunable_strings, and
phy_tunable_strings has been moved to file net/ethtool/common.c.
So fixes the comment.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jian Shen
2021-06-17 11:37:11 +08:00
committed by Greg Kroah-Hartman
parent 891db094a0
commit 5cc0cf735f
2 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ enum {
/* /*
* Add your fresh new feature above and remember to update * Add your fresh new feature above and remember to update
* netdev_features_strings[] in net/core/ethtool.c and maybe * netdev_features_strings[] in net/ethtool/common.c and maybe
* some feature mask #defines below. Please also describe it * some feature mask #defines below. Please also describe it
* in Documentation/networking/netdev-features.rst. * in Documentation/networking/netdev-features.rst.
*/ */

View File

@@ -223,7 +223,7 @@ enum tunable_id {
ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */ ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */
/* /*
* Add your fresh new tunable attribute above and remember to update * Add your fresh new tunable attribute above and remember to update
* tunable_strings[] in net/core/ethtool.c * tunable_strings[] in net/ethtool/common.c
*/ */
__ETHTOOL_TUNABLE_COUNT, __ETHTOOL_TUNABLE_COUNT,
}; };
@@ -287,7 +287,7 @@ enum phy_tunable_id {
ETHTOOL_PHY_EDPD, ETHTOOL_PHY_EDPD,
/* /*
* Add your fresh new phy tunable attribute above and remember to update * Add your fresh new phy tunable attribute above and remember to update
* phy_tunable_strings[] in net/core/ethtool.c * phy_tunable_strings[] in net/ethtool/common.c
*/ */
__ETHTOOL_PHY_TUNABLE_COUNT, __ETHTOOL_PHY_TUNABLE_COUNT,
}; };