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
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+2−2
@@ -233,7 +233,7 @@ enum tunable_id { · 232 unmodified lines
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 { · 57 unmodified lines
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 };