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


Groups > linux.kernel > #1201104 > unrolled thread

Re: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj()

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2015-08-05 22:20 +0200
Last post2015-08-10 10:50 +0200
Articles 2 — 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

  Re: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-08-05 22:20 +0200
    Re: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj() Jarkko Sakkinen <jarkko.sakkinen@intel.com> - 2015-08-10 10:50 +0200

#1201104 — Re: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj()

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2015-08-05 22:20 +0200
SubjectRe: [PATCH v8 1/3] sysfs: added sysfs_link_entry_to_kobj()
Message-ID<pUdkm-3qW-23@gated-at.bofh.it>
On Fri, Jul 03, 2015 at 05:27:18PM +0300, Jarkko Sakkinen wrote:
> Added a new function sysfs_link_group_to_kobj() that adds a symlink
> from attribute or group to a kobject. Exported kernfs_remove_by_name_ns
> in order to provide a way to remove such symlinks.

This text doesn't match the function name you exported :(

> 
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> ---
>  fs/sysfs/group.c      | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/sysfs.h | 10 ++++++++++
>  2 files changed, 54 insertions(+)
> 
> diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
> index b400c04..0fb4b6e 100644
> --- a/fs/sysfs/group.c
> +++ b/fs/sysfs/group.c
> @@ -352,3 +352,47 @@ void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
>  	}
>  }
>  EXPORT_SYMBOL_GPL(sysfs_remove_link_from_group);
> +
> +/**
> + * __compat_sysfs_link_entry_to_kobj - add a symlink to a kobject pointing

Why __compat?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1203899

FromJarkko Sakkinen <jarkko.sakkinen@intel.com>
Date2015-08-10 10:50 +0200
Message-ID<pVQWn-U9-31@gated-at.bofh.it>
In reply to#1201104
On Wed, Aug 05, 2015 at 01:11:23PM -0700, Greg Kroah-Hartman wrote:
> On Fri, Jul 03, 2015 at 05:27:18PM +0300, Jarkko Sakkinen wrote:
> > Added a new function sysfs_link_group_to_kobj() that adds a symlink
> > from attribute or group to a kobject. Exported kernfs_remove_by_name_ns
> > in order to provide a way to remove such symlinks.
> 
> This text doesn't match the function name you exported :(

D'oh.

> > 
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> > ---
> >  fs/sysfs/group.c      | 44 ++++++++++++++++++++++++++++++++++++++++++++
> >  include/linux/sysfs.h | 10 ++++++++++
> >  2 files changed, 54 insertions(+)
> > 
> > diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
> > index b400c04..0fb4b6e 100644
> > --- a/fs/sysfs/group.c
> > +++ b/fs/sysfs/group.c
> > @@ -352,3 +352,47 @@ void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
> >  	}
> >  }
> >  EXPORT_SYMBOL_GPL(sysfs_remove_link_from_group);
> > +
> > +/**
> > + * __compat_sysfs_link_entry_to_kobj - add a symlink to a kobject pointing
> 
> Why __compat?

https://lkml.org/lkml/2015/7/2/455

Although, should have been '__compat_only'.

/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web