History

net: fix mistake path for netdev_features_strings

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.

Jian Shen committed 5 years ago

Commit 2d8ea141 parent 01f1b6e2 files · +3 −3Browse files

Showing the changes to include/uapi/linux/ethtool.h (1 of 2 files). Show all

Unified · Split

include/uapi/linux/ethtool.h+2−2
@@ -233,7 +233,7 @@ enum tunable_id { · 232 unmodified lines
233 ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */233 ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */
234 /*234 /*
235 * Add your fresh new tunable attribute above and remember to update235 * Add your fresh new tunable attribute above and remember to update
236 * tunable_strings[] in net/core/ethtool.c236 * tunable_strings[] in net/ethtool/common.c
237 */237 */
238 __ETHTOOL_TUNABLE_COUNT,238 __ETHTOOL_TUNABLE_COUNT,
239};239};
@@ -297,7 +297,7 @@ enum phy_tunable_id { · 57 unmodified lines
297 ETHTOOL_PHY_EDPD,297 ETHTOOL_PHY_EDPD,
298 /*298 /*
299 * Add your fresh new phy tunable attribute above and remember to update299 * Add your fresh new phy tunable attribute above and remember to update
300 * phy_tunable_strings[] in net/core/ethtool.c300 * phy_tunable_strings[] in net/ethtool/common.c
301 */301 */
302 __ETHTOOL_PHY_TUNABLE_COUNT,302 __ETHTOOL_PHY_TUNABLE_COUNT,
303};303};