Re: [PATCH v8 2/4] kobject: export kset_find_obj() for module use
From: Gabriel L. Somlo
Date: Sun Feb 07 2016 - 09:28:37 EST
On Sat, Feb 06, 2016 at 11:24:23PM -0800, Greg KH wrote:
> On Thu, Jan 28, 2016 at 09:23:12AM -0500, Gabriel L. Somlo wrote:
> > From: Gabriel Somlo <somlo@xxxxxxx>
> >
> > Signed-off-by: Gabriel Somlo <somlo@xxxxxxx>
> > ---
> > lib/kobject.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/lib/kobject.c b/lib/kobject.c
> > index 7cbccd2..90d1be6 100644
> > --- a/lib/kobject.c
> > +++ b/lib/kobject.c
> > @@ -861,6 +861,7 @@ struct kobject *kset_find_obj(struct kset *kset, const char *name)
> > spin_unlock(&kset->list_lock);
> > return ret;
> > }
> > +EXPORT_SYMBOL(kset_find_obj);
>
> EXPORT_SYMBOL_GPL() please here. I'll edit it by hand if you don't want
> to resend the series.
If you don't mind editing, that'd be much appreciated!
I'll make sure and remember to use EXPORT_SYMBOL_GPL() for the next
chance I get... :)
Thanks much,
--Gabriel
>
> thanks.
>
> greg k-h