Messages in this thread | | | Date | Fri, 17 Feb 2023 15:00:34 +0200 | From | Vladimir Oltean <> | Subject | Re: [PATCH net-next 05/12] net: ethtool: create and export ethtool_dev_mm_supported() |
| |
On Fri, Feb 17, 2023 at 01:21:19AM +0200, Vladimir Oltean wrote: > +bool ethtool_dev_mm_supported(struct net_device *dev) > +{ > + const struct ethtool_ops *ops = dev->ethtool_ops; > + bool supported; > + int ret; > + > + ASSERT_RTNL(); > + > + if (!ops) > + return false; > + > + ret = ethnl_ops_begin(dev); > + if (ret < 0) > + return false; > + > + supported = __ethtool_dev_mm_supported(dev); > + > + ethnl_ops_complete(dev); > + > + return supported; > +}
In the first patch that uses this:
ERROR: modpost: "ethtool_dev_mm_supported" [net/sched/sch_mqprio.ko] undefined!
due to a missing EXPORT_SYMBOL_GPL(). Sorry.
| |