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.
Showing the changes to include/uapi/linux/ethtool.h (1 of 2 files). Show all
Unified · Split
| @@ -233,7 +233,7 @@ enum tunable_id { · 232 unmodified lines | ||
| 233 | 233 | ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */ |
| 234 | 234 | /* |
| 235 | 235 | * 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 | |
| 237 | 237 | */ |
| 238 | 238 | __ETHTOOL_TUNABLE_COUNT, |
| 239 | 239 | }; |
| @@ -297,7 +297,7 @@ enum phy_tunable_id { · 57 unmodified lines | ||
| 297 | 297 | ETHTOOL_PHY_EDPD, |
| 298 | 298 | /* |
| 299 | 299 | * 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 | |
| 301 | 301 | */ |
| 302 | 302 | __ETHTOOL_PHY_TUNABLE_COUNT, |
| 303 | 303 | }; |