[PATCH 0/6] Remove owner field from sysfs attribute structure

Greg KH gregkh at suse.de
Sat Jul 31 00:36:22 EST 2010


On Fri, Jul 30, 2010 at 08:28:10PM +1000, Benjamin Herrenschmidt wrote:
> On Fri, 2010-07-30 at 10:45 +0200, Tejun Heo wrote:
> > On 07/29/2010 07:09 AM, Guenter Roeck wrote:
> > > The following comment is found in include/linux/sysfs.h:
> > > 
> > >    /* FIXME
> > >     * The *owner field is no longer used.
> > >     * x86 tree has been cleaned up. The owner
> > >     * attribute is still left for other arches.
> > >     */
> > > 
> > > As it turns out, the *owner field is (again?) initialized in several modules,
> > > suggesting that such initialization may be creeping back into the code.
> > > 
> > > This patch set removes the above comment, the *owner field, and each instance
> > > in the code where it was found to be initialized.
> > > 
> > > Compiled with x86 allmodconfig as well as with all alpha, arm, mips, powerpc,
> > > and sparc defconfig builds.
> > 
> > Yeah, the change is way overdue.  Maybe we should have just removed
> > them back then.
> 
> I'm happy with the powerpc related patches as long as we all agree that
> needs to go. Do you need me to put some of this in powerpc.git or are
> you carrying them all to Linus ?

I can carry them all in my driver-core tree if you don't object.

thanks,

greg k-h


More information about the Linuxppc-dev mailing list