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

Unified · Split

2 files
  1. include/linux/netdev_features.h +1 −1
  2. include/uapi/linux/ethtool.h +2 −2
include/linux/netdev_features.h+1−1
@@ -93,7 +93,7 @@ enum { · 92 unmodified lines
93 93
94 /*94 /*
95 * Add your fresh new feature above and remember to update95 * Add your fresh new feature above and remember to update
96 * netdev_features_strings[] in net/core/ethtool.c and maybe96 * netdev_features_strings[] in net/ethtool/common.c and maybe
97 * some feature mask #defines below. Please also describe it97 * some feature mask #defines below. Please also describe it
98 * in Documentation/networking/netdev-features.rst.98 * in Documentation/networking/netdev-features.rst.
99 */99 */
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};