diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 31b1edd..e376e8c 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -212,6 +212,9 @@ static noinline int ethtool_get_drvinfo(struct net_device *dev, void __user *use info.cmd = ETHTOOL_GDRVINFO; ops->get_drvinfo(dev, &info); + /* this method of obtaining string set info is deprecated; + * consider using ETHTOOL_GSSET_INFO instead + */ if (ops->get_sset_count) { int rc;