]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: fix mistake path for netdev_features_strings
authorJian Shen <shenjian15@huawei.com>
Thu, 17 Jun 2021 03:37:11 +0000 (11:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:16:01 +0000 (16:16 +0200)
[ Upstream commit 2d8ea148e553e1dd4e80a87741abdfb229e2b323 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/netdev_features.h
include/uapi/linux/ethtool.h

index 4c76fe2c84880fa24bebc7826d19801a10466bfd..2a8105d204a9616293a94ec2ed47c36ddec9745d 100644 (file)
@@ -88,7 +88,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.txt.
         */
index fc21d3726b591226e8a823e1eca83cdc42fcdb9b..35b11c246aeb2b524e188d25c3ec553a8bc6b094 100644 (file)
@@ -227,7 +227,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,
 };
@@ -261,7 +261,7 @@ enum phy_tunable_id {
        ETHTOOL_PHY_DOWNSHIFT,
        /*
         * 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,
 };