Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320731 > unrolled thread

[PATCH v8 2/4] kobject: export kset_find_obj() for module use

Started by"Gabriel L. Somlo" <somlo@cmu.edu>
First post2016-01-28 15:30 +0100
Last post2016-02-07 15:30 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v8 2/4] kobject: export kset_find_obj() for module use "Gabriel L. Somlo" <somlo@cmu.edu> - 2016-01-28 15:30 +0100
    Re: [PATCH v8 2/4] kobject: export kset_find_obj() for module use Greg KH <gregkh@linuxfoundation.org> - 2016-02-07 08:30 +0100
      Re: [PATCH v8 2/4] kobject: export kset_find_obj() for module use "Gabriel L. Somlo" <somlo@cmu.edu> - 2016-02-07 15:30 +0100

#1320731 — [PATCH v8 2/4] kobject: export kset_find_obj() for module use

From"Gabriel L. Somlo" <somlo@cmu.edu>
Date2016-01-28 15:30 +0100
Subject[PATCH v8 2/4] kobject: export kset_find_obj() for module use
Message-ID<qVVKa-4Gz-37@gated-at.bofh.it>
From: Gabriel Somlo <somlo@cmu.edu>

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
---
 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);
 
 static void kset_release(struct kobject *kobj)
 {
-- 
2.4.3

[toc] | [next] | [standalone]


#1328435

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-02-07 08:30 +0100
Message-ID<qZrXb-2O5-1@gated-at.bofh.it>
In reply to#1320731
On Thu, Jan 28, 2016 at 09:23:12AM -0500, Gabriel L. Somlo wrote:
> From: Gabriel Somlo <somlo@cmu.edu>
> 
> Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
> ---
>  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.

thanks.

greg k-h

[toc] | [prev] | [next] | [standalone]


#1328492

From"Gabriel L. Somlo" <somlo@cmu.edu>
Date2016-02-07 15:30 +0100
Message-ID<qZyvE-7me-9@gated-at.bofh.it>
In reply to#1328435
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@cmu.edu>
> > 
> > Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
> > ---
> >  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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web