Messages in this thread | | | Date | Tue, 16 Oct 2018 13:09:08 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 1/3] driver core: add probe_err log helper |
| |
On Tue, Oct 16, 2018 at 11:27:15AM +0100, Mark Brown wrote: > On Tue, Oct 16, 2018 at 09:22:42AM +0200, Andrzej Hajda wrote: > > > +int probe_err(const struct device *dev, int err, const char *fmt, ...) > > +{ > > + struct va_format vaf; > > + va_list args; > > ... > > > + return err; > > +} > > + > > This will need an EXPORT_SYMBOL for modules won't it?
EXPORT_SYMBOL_GPL() to be specific, as it is dealing with the driver core.
thanks,
greg k-h
| |