Skip to content

Commit 550ec6e

Browse files
IronShengregkh
authored andcommitted
net: fix mistake path for netdev_features_strings
[ Upstream commit 2d8ea14 ] 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>
1 parent ec61639 commit 550ec6e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/linux/netdev_features.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ enum {
9393

9494
/*
9595
* Add your fresh new feature above and remember to update
96-
* netdev_features_strings[] in net/core/ethtool.c and maybe
96+
* netdev_features_strings[] in net/ethtool/common.c and maybe
9797
* some feature mask #defines below. Please also describe it
9898
* in Documentation/networking/netdev-features.rst.
9999
*/

‎include/uapi/linux/ethtool.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ enum tunable_id {
233233
ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */
234234
/*
235235
* Add your fresh new tunable attribute above and remember to update
236-
* tunable_strings[] in net/core/ethtool.c
236+
* tunable_strings[] in net/ethtool/common.c
237237
*/
238238
__ETHTOOL_TUNABLE_COUNT,
239239
};
@@ -297,7 +297,7 @@ enum phy_tunable_id {
297297
ETHTOOL_PHY_EDPD,
298298
/*
299299
* Add your fresh new phy tunable attribute above and remember to update
300-
* phy_tunable_strings[] in net/core/ethtool.c
300+
* phy_tunable_strings[] in net/ethtool/common.c
301301
*/
302302
__ETHTOOL_PHY_TUNABLE_COUNT,
303303
};

0 commit comments

Comments
 (0)