OSDN Git Service

net: fix mistake path for netdev_features_strings
authorJian Shen <shenjian15@huawei.com>
Thu, 17 Jun 2021 03:37:11 +0000 (11:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2021 18:32:50 +0000 (11:32 -0700)
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>
include/linux/netdev_features.h
include/uapi/linux/ethtool.h

index 3de38d6..2c6b9e4 100644 (file)
@@ -93,7 +93,7 @@ enum {
 
        /*
         * Add your fresh new feature above and remember to update
-        * netdev_features_strings[] in net/core/ethtool.c and maybe
+        * netdev_features_strings[] in net/ethtool/common.c and maybe
         * some feature mask #defines below. Please also describe it
         * in Documentation/networking/netdev-features.rst.
         */
index cfef6b0..67aa713 100644 (file)
@@ -233,7 +233,7 @@ enum tunable_id {
        ETHTOOL_PFC_PREVENTION_TOUT, /* timeout in msecs */
        /*
         * Add your fresh new tunable attribute above and remember to update
-        * tunable_strings[] in net/core/ethtool.c
+        * tunable_strings[] in net/ethtool/common.c
         */
        __ETHTOOL_TUNABLE_COUNT,
 };
@@ -297,7 +297,7 @@ enum phy_tunable_id {
        ETHTOOL_PHY_EDPD,
        /*
         * Add your fresh new phy tunable attribute above and remember to update
-        * phy_tunable_strings[] in net/core/ethtool.c
+        * phy_tunable_strings[] in net/ethtool/common.c
         */
        __ETHTOOL_PHY_TUNABLE_COUNT,
 };